Hi, there are 5 different results that you will get while submitting a solution to Leetcode:
- compilation error: syntax error in your code because your code does not compile
- runtime Exception: e.g. ArrayOutOfBoundsException, NullPointerException
- wrong answer: your code may work for some unit test, but no for all test cases
- time limit exceeded (TLE)
- accepted
Top comments (1)
I found that solution is very popular and helpful : youtu.be/KIoM0FEZ0IA