Anzy Global Interview Question

A puzzle was given..