Anzy Global interview question

A puzzle was given..