Jump Game 4 Leetcode Problems On Loops