Leetcode 1340. Jump Game V | Hello Interview