Рет қаралды 4,684
In this video, I'll talk about how to solve Leetcode 1642. Furthest Building You Can Reach | Why not DP | Min Heap (Priority Queue) | Binary Search | Greedy
Checkout DSA-169 Series: • Aryan DSA-169 Series |...
100Days 100k Placements: • 100 Days 100K Placement
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mittal_group
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
0:00 - Bakwas
0:39 - Problem Explanation
3:33 - Method 1 - DP
7:33 - Similar Problem (Leetcode 871)
8:15 - Intuition
10:05 - Method 2 - Brute Force (Greedy)
15:00 - Method 3 - Better (Method2 Min Heap)
17:33 - Method 4 - Better (Binary Search)
18:40 - Method 5 - Optimal (Min Heap - Greedy)
20:39 - Dry Run
24:30 - Code Explanation
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms