athenahealth interview question

Nothing unexpected. You are expected to code and test its correctness.