r/learnquant • • 2d ago

interview prep Quant Interview Question

Post image
29 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/NomaTyx 2d ago

there actually is. think about it this way: if the first throw is heads, I can hit HTH immediately, which is odd. if the first throw is tails, THTH is even. There is actually a difference.

2

u/No_Place_4096 2d ago

I agree. I miss read the question. The condition picks out a subset of the sequences. This subset is not balanced.

1

u/NomaTyx 2d ago

yeah it's actually tricky, i didn't even consider it