Find K Pairs with Smallest Sums | OPTIMAL | GOOGLE | Leetcode-373 | Live Code

Subscribers:
92,300
Published on ● Video Link: https://www.youtube.com/watch?v=PiGYS7BbV_Q



Duration: 20:12
916 views
59


This is the 11th Video on our Heap Playlist.
In this video we will try to solve a very good Heap Problem "Find K Pairs with Smallest Sums" (Leetcode - 373)

Trust me, this will no longer be a MEDIUM Problem. I will explain the intuition so easily that you will never forget and start seeing this as cakewalk EASYYY.

In Video-10, We already solved it using :
1. Brute Force - TLE
2. Improved Brute Force - ACCEPTED

In this video, we will go with an Optimal and another better approach.

Problem Name : Find K Pairs with Smallest Sums
Company Tags : GOOGLE
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Heap/Find%20K%20Pairs%20with%20Smallest%20Sums.cpp
Leetcode Link : https://leetcode.com/problems/find-k-pairs-with-smallest-sums/


My Graph Concepts Playlist : https://youtu.be/5JGiZnr6B5w
My DP Concepts Playlist : https://youtu.be/7eLMOE1jnls
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK
Instagram : https://www.instagram.com/codestorywithmik/
Facebook : https://www.facebook.com/people/codestorywithmik/100090524295846/


╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝


#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview #interviewtips
#interviewpreparation #interview_ds_algo #hinglish




Other Videos By codestorywithMIK


2023-07-02Maximum Number of Achievable Transfer Requests | Khandani Backtracking Template | Leetcode-1601
2023-07-02Thank you all for 100 Instagram Followers ❤️#instagram #instalike #reelsinstagram #100followers
2023-07-01Trust the process #hardwork #patience #consistency #preparation #coding #dsa #motivation #reels
2023-07-01Fair Distribution of Cookies | Khandani Backtracking Template | Leetcode-2305 | Explanation + Coding
2023-06-30SHOUT OUT TO ALL MY SUBSCRIBERS. Congrats to everyone who got Leetcode June Badge, 2023
2023-06-30Last Day Where You Can Still Cross | BFS | DFS | Binary Search | GOOGLE Onsite | Leetcode-1970
2023-06-29Shortest Path to Get All Keys | Full Detail | Leetcode-864 | GOOGLE | Explanation ➕ Live Coding
2023-06-28codestorywithMIK wishes you all and your loved ones a very Happy Eid Al Adha. #eidmubarak #eidaladha
2023-06-27You can change things if you start now | 39 seconds of motivation 2023 #motivation #study #hardwork
2023-06-27Path with Maximum Probability | Using Dijkstra's | GOOGLE | Leetcode-1514 | Live Code
2023-06-27Find K Pairs with Smallest Sums | OPTIMAL | GOOGLE | Leetcode-373 | Live Code
2023-06-27Find K Pairs with Smallest Sums | BRUTE FORCE ACCEPTED | GOOGLE | Leetcode-373 | Live Code
2023-06-26I hope so 🥹 #interviewpreparation #coding #easyrecipe #helpajobseeker #funny #viral #reels
2023-06-26House Robber II | Constant Space | DP Concepts & Qns - 8 | Leetcode-213
2023-06-26Total Cost to Hire K Workers | Using 2 Heap | Dry Run | META | Leetcode-2462 | Live Code
2023-06-25Count All Possible Routes | Recur + Memo | Tree Diagram | ZOHO | Leetcode-1575 | Live Code
2023-06-25Congratulations to one of our Subscribers who got the job 🎉🎉🔥🔥 #job #crack #interviewpreparation
2023-06-24Tallest Billboard | Recur + Memo | Tree Diagram | GOOGLE | Leetcode-956 | Live Code
2023-06-234 log trend with codestorywithMIK #leetcode #viralvideos #viralvideo #viralindonesia #viralata
2023-06-23Longest Arithmetic Subsequence | Recur + Memo | Bottom Up | GOOGLE | Leetcode-1027 | Live Code
2023-06-21Best Time to Buy and Sell Stock with Transaction Fee | Recur + Memo | META | Leetcode-714