Jane Street Interview Question

Calculations with 2 digit numbers