r/learnquant • • 5d ago

interview prep Quant Interview Question

Post image
46 Upvotes

9 comments sorted by

View all comments

1

u/lolcrunchy 5d ago

>!First round: 1 mod 3 survives. 1000 eliminates 1001 and 1, making the next person 4.

Second round: 4 mod 9 survives. 994 eliminates 997 and 1000. The next person is 4.

Third round: 4 mod 27 survives. 976 eliminates 985 and 994. The next person is 4.

Fourth round: 4 mod 81 survives. 976 eliminates 4 and 85. The next person is 166.

Fifth round: 166 mod 243 survives. 895 eliminates 976 and 166. The next person is 409.

Last round: 409 mod 729 survives. 409 eliminates 652 and 895. 409 is last one standing.!<

1

u/phobos77 5d ago

This matches what I came up with.

1

u/Smash_Factor 5d ago

Yes, me too finally. So hard!

Here is what it looks like in excel for me: