Nexsen Pruet Interview Question

Not very difficult