Leetcode 42 - Trapping Rainwater, approach and code walkthrough, easy solution, English.
Solved in O(1) Space Complexity and O(n) Time Complexity using Two Pointer Technique.
Most Efficient Solution.
Asked in companies like: Samsung, Myntra, Sap, Intel etc.
An interesting problem that uses a technique that is commonly asked for a lot of questions in interviews of many major companies. Must do problem for anyone preparing for the upcoming interview season.
Other Important problems are present in the playlist:
[ Ссылка ]
Don't Forget to Leave a like, Subscribe to the Channel and comment your feedback. You can press the bell icon for regular updates
Godrej Internship
Position: Mergers & Acquisitions Intern
[ Ссылка ]
Ещё видео!