R3 interview question

Take home coding test