Dynetics Interview Question

Some coding problem (sorry I forgot this one)