Leetcode 789. Escape The Ghosts | Hello Interview