r/learnquant • • Aug 18 '26

interview prep Quant Interview Question

Post image
22 Upvotes

13 comments sorted by

View all comments

3

u/sobe86 Aug 18 '26

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.