athenahealth interview question

Question around programming and logical skills