Bloomberg Interview Question

Hardest part was describing my thought process