Bag of Tokens - (Google) : Greedy Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»

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



Duration: 18:28
493 views
20


This is our 1st Video on Greedy technique.
In this video we will try to solve a very interesting Greedy Problem "Bag Of Tokens".
It has been asked in Google and we will try to solve this in a very clean way.

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

Problem Name : Bag of Tokens
Company Tags : Google
My solutions on Github : https://github.com/MAZHARMIK/Interview_DS_Algo/blob/master/Greedy/Bag%20of%20Tokens.cpp
Leetcode Link : https://leetcode.com/problems/bag-of-tokens/


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



╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
β•‘β•šβ•£β•‘β•‘β•‘β•šβ•£β•šβ•£β•”β•£β•”β•£β•‘β•šβ•£β•β•£
β• β•—β•‘β•šβ•β•‘β•‘β• β•—β•‘β•šβ•£β•‘β•‘β•‘β•‘β•‘β•β•£
β•šβ•β•©β•β•β•©β•β•©β•β•©β•β•©β•β•šβ•©β•β•©β•β•

#coding #helpajobseeker #easyrecipes
#interviewpreparation #interview_ds_algo #hinglish




Other Videos By codestorywithMIK


2022-09-25Design A URL Shortener (Part-X): STEP-3 : DESIGN DEEP DIVE (URL SHORTENING FLOW) πŸ—βš™οΈπŸ‘·
2022-09-24Path Sum II - (Bloomberg, LinkedIn, Amazon, Bloomberg, Quora) : Explanation + Live Coding πŸ§‘πŸ»β€πŸ’»
2022-09-22Design A URL Shortener (Part-IX): STEP-3 : DESIGN DEEP DIVE (BASE-62 CONVERSION) πŸ—βš™οΈπŸ‘·
2022-09-21Sum of Even Numbers After Queries-(Asked in Indeed): Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-20Design A URL Shortener (Part-VIII): STEP-3 : DESIGN DEEP DIVE (HASH + COLLISION RESOLUTION) πŸ—βš™οΈπŸ‘·
2022-09-18Design A URL Shortener (Part-VII): STEP-3 : DESIGN DEEP DIVE (HASH FUNCTION) !!! πŸ—βš™οΈπŸ‘·
2022-09-17Binary Tree Pruning (O(n))- (Google, Amazon, Microsoft) : Explanation + Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-17Binary Tree Pruning (O(n^2)) -(Google, Amazon, Microsoft) : Explanation + Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-15Find Original Array From Doubled Array-(Google, Amazon…): Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-14Boats to Save People - (Google) : Greedy Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-12Bag of Tokens - (Google) : Greedy Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-11Design A URL Shortener (Part-VI): STEP-3 : DESIGN DEEP DIVE (DATA MODEL) !!! πŸ—βš™οΈπŸ‘·
2022-09-10Minimum Size Subarray Sum-(Google, Accolite, Amazon..):Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-05Design A URL Shortener (Part-V): STEP-2 : URL SHORTENING (HASH FUNCTION) !!! πŸ—βš™οΈπŸ‘·
2022-09-04Sort Colors- (Adobe, Amazon, Flipkart.....) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-02Search in Rotated Sorted Array-(Google, Amazon, Microsoft....🀩):Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-09-01Design A URL Shortener (Part-IV): STEP-2 : 301 Redirect Vs 302 Redirect Status Code !!! πŸ—βš™οΈπŸ‘·
2022-08-30Design A URL Shortener (Part-III): STEP-2 : Propose High Level Design & Get Buy-In !!! πŸ—βš™οΈπŸ‘·
2022-08-28Diagonal Traverse - (Google, Amazon) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-28Sort the Matrix Diagonally - (MICROSOFT) : Explanation βž• Live Coding πŸ§‘πŸ»β€πŸ’»πŸ‘©πŸ»β€πŸ’»
2022-08-27Design A URL Shortener (Part-II): Back Of The Envelope Estimation !!! πŸ—βš™οΈπŸ‘·