We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Algorithms
- Greedy
- Grid Challenge
- Discussions
Grid Challenge
Grid Challenge
Sort by
recency
|
596 Discussions
|
Please Login in order to post a comment
Here is my c++ solution, you can watch the explanation here : https://youtu.be/GPB-dpsvQ8Y
My Java solution with o(r * c log c) time complexity and o(r) space:
Java //O(n*n)
Here is my Python solution!
PYTHON