athenahealth interview question

Puzzles were asked in technical round