Path Crossing - Leetcode 1496 - Python
Vložit
- čas přidán 23. 07. 2024
- 🚀 neetcode.io/ - A better way to prepare for Coding Interviews
🧑💼 LinkedIn: / navdeep-singh-3aaa14161
🥷 Discord: / discord
🐦 Twitter: / neetcode1
🐮 Support the channel: / neetcode
⭐ BLIND-75 PLAYLIST: • Two Sum - Leetcode 1 -...
💡 DYNAMIC PROGRAMMING PLAYLIST: • House Robber - Leetco...
Problem Link: leetcode.com/problems/path-cr...
0:00 - Read the problem
0:16 - Drawing Explanation
4:10 - Coding Explanation
leetcode 1496
#neetcode #leetcode #python
Thanks for the video
Easy problems keep this fun ^^
Thank you!
Why is everything this month easy
Well this was my first month doing LC and it's Steak 😅😂
I used list to keep track of all the points like [[0,0],[0,1]]. Doesn't lists have lookup O(n)? But it gave me 35ms.
Easy problem 🎉
Nice bro me second
Ok first comment
We can add a length check on the input too initially
If len(input)
NS should be true
This condition Will not Work
How about this case
NSNS?
@@Akmabedinkadersafi-O why
@@js2000honda what is ns ?