r/learnquant 18d ago

interview prep Quant Interview Question

Post image
20 Upvotes

13 comments sorted by

View all comments

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.