https://leetcode.com/problems/jump-game-iii/