Submit showing wrong test case output

In the permutation question, https://leetcode.com/problems/permutations/submissions/, I am encountering something odd - my code runs outputs the "incorrect answer" for the submission, but if I copy over that test case from submission to the test case runtime it works fine. It appears that the submission is running my code on the default test case input in addition to the submission test input, but evaluating it against the submission's test cases. Notice how [1,2,3] isn't even possible as an output given my code. I think there might be some sort of output/memory sharing.
image

Comments (2)