Time and again leetcode c++ compiler/judge generates wrong execution outputs for otherwise correct code implementations. When i go and run the code in Java it runs correctly and also faster. Has anyone else noticed frequent bugs in leetcodes' C++ code judge. This is turning into a waste of time, if one can't trust the test cases.