Two Programs here are mainly to explain a very popular technique called Two Pointers to optimize time and space complexity while dealing with Arrays, Strings and LinkList problems.
Failures are pillars of success, Success won't teach you life lessons. So Try the home works that I have asked here and feel great if you fail to solve them in one shot cause you are going to learn new things and would never forget the lesson that you learned.
Refer LeetCode problems :
https://leetcode.com/problems/partition-list/
https://leetcode.com/problems/valid-palindrome/
#twopointers #arrays #leetcode
0:00 Quicksort partition algorithm
5:00 Valid palindrome
Thank me if you learned something today :)
https://rebrand.ly/interviewdose
Download
0 formats
No download links available.
Two Pointers programs - Partition Array, Valid Palindrome | LeetCode 125 | Many takeaways | NatokHD