Leetcode 2017. Grid Game | Hello Interview