-
Leetcode return tehre are 2052 cards, but we get 2051 in the end. It is either a bug with the way we calculate pages and offsets, or leetcode really returns incorrect number of problems. Have to inves…
-
In the walk through video's you go through the time and space complexity of any given problem.
I thought it would be nice if we added the time and space complexity on the site neetcode.io associated …
-
-
https://github.com/neetcode-gh/leetcode/blob/main/python/853-Car-Fleet.py
This doesn't actually need a stack to be used, we can just store the maximum time someone on the right takes
```
class So…
-
The copy method does not work in python 2
-
the time complexity is quadratic for two problem in arrayshashing package.
Lets try an improved approach
-
There are n gas stations along a circular route, where the amount of gas at the ith station is gas[i].
You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from the ith s…
-
- [Biggest BST subtree](https://www.dailycodingproblem.com/solution/93?token=c297cafe7ca163ee6f36e07661ba7f889a119eca5d00220615575229e8752efb3e36cad3)
- [Valid BST](https://www.dailycodingproblem.c…
-
Not fully agree, that String of " "(whitespace) is palindrome, as it doesn't contain any characters after trimming.
In other words, the Strings "" and " "(which is actually "" after removing all non-…
-