Bloomberg interview question

the brain teaser, and the program correctness problem