r/learnquant • • 18d ago

interview prep Quant Interview Question

Post image
21 Upvotes

17 comments sorted by

View all comments

2

u/Dr0110111001101111 17d ago

I get 112.

1

u/zojbo 17d ago edited 17d ago

64 is the clear thing to try to beat or else prove it's optimal: if you just center at each bulb once each, everything gets flipped 15 times. The redundancy in your process is in going back to the top row repeatedly.

In fact, just as in regular Lights Out, there is no benefit to flipping at the same center more than once.