Frog Jump With K Distance Leetcode