Wrong answer during submission is correct when using "run code"

Hey,

I wrote a solution to https://leetcode.com/problems/coin-change/, but when I submit it, I get "wrong solution", but when I test the specific wrong solution input it works.
Screenshot attached.

Code is deterministic :)
image

Comments (6)