Junglee Games interview question

Based mostly on problem-solving and Algorithms