athenahealth Interview Question

Simple recursion and search algorithm question. Not very hard compare to other companies