DEV Community

geyuqiu
geyuqiu

Posted on

Leetcode 101

Hi, there are 5 different results that you will get while submitting a solution to Leetcode:

  1. compilation error: syntax error in your code because your code does not compile
  2. runtime Exception: e.g. ArrayOutOfBoundsException, NullPointerException
  3. wrong answer: your code may work for some unit test, but no for all test cases
  4. time limit exceeded (TLE)
  5. accepted

Top comments (1)

Collapse
 
qurashieman profile image
Tuba Inam

I found that solution is very popular and helpful : youtu.be/KIoM0FEZ0IA