MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1y74x9b/quant_interview_question/19taffj5su50k/
r/learnquant • u/Local_Ad135 • 5d ago
9 comments sorted by
View all comments
1
>!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:
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:
Yes, me too finally. So hard!
Here is what it looks like in excel for me:
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.!<