When I put the last executed input as a test case in my program, it runs, but when I submit it, it causes an error. I don't really know if this test case causes an error when submitted, or if this test case is fine and there are other test cases that don't work
https://leetcode.com/problems/jump-game/

https://leetcode.com/problems/greatest-common-divisor-of-strings/

I'm relatively new to leetcode and coding in general