Leetcode 1377. Frog Position After T Seconds | Hello Interview