r/learnquant • • 7d ago

interview prep Quant Interview Question

Post image
46 Upvotes

9 comments sorted by

View all comments

1

u/Ancient_Eggplant_123 6d ago edited 6d ago

Another way to look at this is each time you finish a cycle depending on the mod you add (3-(remaining people in previous cycle mod3))*3n to the beginning of the of the previous cycle where n is the previous cycle number and you repeat this till you exhaust the remaining people.

Sorry if the answer is a little complicated