RAPP Interview Question

I was a given a take home technical exercise to complete.