Lookout interview question

Basic coding and test case formulation