Bloomberg Interview Question

Finance-related whiteboard coding.