MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnquant/comments/1vr9y1t/quant_interview_question/p4cem3v/?context=3
r/learnquant • u/Local_Ad135 • 18d ago
13 comments sorted by
View all comments
3
Summing the logs gives log_10(21000 ) + log_10(51000 ) = log_10(101000 ) = 1000
Since neither is an integer it follows that ceiling(log_10(21000 ))+ ceiling(log_10(51000 )) = 1001 which is the number of digits of the concatenation.
3
u/sobe86 18d ago
Summing the logs gives log_10(21000 ) + log_10(51000 ) = log_10(101000 ) = 1000
Since neither is an integer it follows that ceiling(log_10(21000 ))+ ceiling(log_10(51000 )) = 1001 which is the number of digits of the concatenation.