Jane Street Interview Question

mental math questions