Stuart Interview Question

Solve one kata on codewars (quick and moderate difficulty)