LeetCode 31 Strange Phenomenon

I know my code is not optimal but at least is shall work. However, I got this: Any one has any idea why is that? The tricky part is, nums is the output. There is no need to return anything!!!

February 20, 2023 · 1 min · 40 words · Me