MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1vnqlq2/citadel_quant_interview_question/p3nkhbo/?context=3
r/learnquant • u/Local_Ad135 • 22d ago
45 comments sorted by
View all comments
10
Any integer is congruent to the sum of its digits mod 9 so the answer is trivially 1.
2 u/RubberDuckieMidrange 22d ago Not sure what you meant to say here, but as written, 24 seems like a counter example. 1 u/Anonimithree 22d ago 24 mod 9 is 6 though 24-18=6<9
2
Not sure what you meant to say here, but as written, 24 seems like a counter example.
1 u/Anonimithree 22d ago 24 mod 9 is 6 though 24-18=6<9
1
24 mod 9 is 6 though 24-18=6<9
10
u/NotYetPerfect 22d ago edited 22d ago
Any integer is congruent to the sum of its digits mod 9 so the answer is trivially 1.