Click run code can get the correct results;
while click submit, return the wrong results.
The snapshot attached: the upper part is run by click submit; the bottom part is run by click "run code". which shows inconsistent results.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.