Successful Pairs of Spells and Potions - (MICROSOFT) | Leetcode-2003 | Explanation ➕ Live Coding

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



Duration: 35:05
1,038 views
0


This is the 13th Video on our Binary Search Playlist.
In this video we will try to solve a very good problem on Binary Search "Successful Pairs of Spells and Potions" (Leetcode - 2003)

We will solve is using lower_bound STL and we will also write our own lower_bound function using binary search

We will do live coding after explanation and see if we are able to pass all the test cases.

Problem Name : Successful Pairs of Spells and Potions
Company Tags : MICROSOFT
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Arrays/Binary%20Search/Successful%20Pairs%20of%20Spells%20and%20Potions.cpp
Leetcode Link : https://leetcode.com/problems/successful-pairs-of-spells-and-potions/description/


My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Interview_DS_Algo
Subscribe to my channel : https://www.youtube.com/@codestorywithMIK


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


#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-04-10Removing Stars From a String | Leetcode - 2390 | MICROSOFT | Explanation ➕ Live Coding
2023-04-09Valid Parentheses | Leetcode - 20 | Google, Meta | Explanation ➕ Live Coding Trash
2023-04-09Dijkstra's Algorithm | PART-2 | (Microsoft) | Graph Concepts & Qns - 25 | Explanation+Coding
2023-04-08Largest Color Value in a Directed Graph | Leetcode - 1857 | META | Explanation ➕ Live Coding Trash
2023-04-08Clone Graph | Leetcode - 133 | Google, Facebook, Amazon | DFS+BFS | Explanation ➕ Live Coding🧑🏻‍💻
2023-04-06Number of Enclaves - (Leetcode - 1020) - (AMAZON) : Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻
2023-04-06Number of Closed Islands - (Leetcode - 1254) - (GOOGLE) : Explanation ➕ Live Coding
2023-04-05Dijkstra's Algorithm | PART-1 | (Microsoft) | Graph Concepts & Qns - 24 | Explanation+Coding
2023-04-05Minimize Maximum of Array - (META) | Leetcode-2439 | Explanation ➕ Live Coding 🧑🏻‍💻👩🏻‍💻
2023-04-03Optimal Partition of String - (AMAZON) | Leetcode-2405 | Explanation ➕ Live Coding
2023-04-02Successful Pairs of Spells and Potions - (MICROSOFT) | Leetcode-2003 | Explanation ➕ Live Coding
2023-04-01Binary Search - (Recursive + Iterative) | Leetcode-704 | Explanation ➕ Live Coding
2023-03-31Number of Ways of Cutting a Pizza - (Google, TikTok) | Leetcode-1444 | Explanation ➕ Live Coding
2023-03-30Scramble String - (GOOGLE) | Leetcode-87 | Explanation ➕ Live Coding
2023-03-29Reducing Dishes - (MICROSOFT) | Leetcode-1402 | 2 Approaches | Explanation ➕ Live Coding
2023-03-28Minimum Cost For Tickets - (GOOGLE) | Leetcode-983 | 2 Approaches | Explanation ➕ Live Coding
2023-03-27Minimum Path Sum - (Google, Ola, Goldman Sachs) | Leetcode-64 | Explanation ➕ Live Coding
2023-03-26Longest Cycle in a Graph | Leetcode - 2360 | DFS | Explanation ➕ Live Coding Trash
2023-03-25Count Unreachable Pairs of Nodes in an Undirected Graph - (using DSU) | Graph Concepts & Qns - 23
2023-03-25Count Unreachable Pairs of Nodes in an Undirected Graph | Leetcode - 2316 | MICROSOFT | Live Coding
2023-03-24Reorder Routes to Make All Paths Lead to the City Zero | Leetcode - 1466 | META | DFS | Live Coding