OnMobile interview question

Question on most commonly asked puzzles