Hi all, my code was in Java and I encountered the problem of cannot finding the top() in line 26. And I just copied the java solution posted already, and they cannot be accepted because of the same problem. Is there a possibility that the online judgement of java solution is wrong?
Same issue with my code. I commented the whole code, submitting empty code, still throwing the same error. Strange.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.