Stack jaae bhaad me. 🤣🤣🤣 Koi aapki tarah parha nahi sakta bhai. love you
@ankanbrahmachary65816 ай бұрын
explaining code is for kids ..Legends build intuition from ground up .. 🔥🔥🔥🔥🔥🔥"bhadme jae stack"
@akshanshsharma60256 ай бұрын
bhai maine kam se kam 10 article padhe par kahi bhi intution nahi mili phir last m video dekhi aur inution samzi aur code khud se likh liya heads off you brother
@gauravbanerjee28986 ай бұрын
Literally itna details mei youtube mei time leke koi nahi padhata, direct approach batake 10-20 mins mei video khatam kar dete hai . Thanks a lot bhaiya for your efforts Love you 3000❤❤ and Eid mubarak❤🌙✨
@atulkumarpandey33426 ай бұрын
Bhai ekdm crystal clear samjhate ho, Love you brother ❤❤
@pokeindia53614 ай бұрын
Best video of entire DSA community among all DSA channels in youtube..
@theoffshoregaming6 ай бұрын
Thumbnail khtrnaak h bhai😂😂
@codestorywithMIK6 ай бұрын
😅
@yourcoderboy6 ай бұрын
Love from Bangladesh ❤️
@codestorywithMIK6 ай бұрын
Love from 🇮🇳 😇😇❤️❤️
@paveshkanungo63386 ай бұрын
Your videos are toooooo good. Many students are with youuu. 🤯🤯🤯💥💥💥💥💥💥💥💥💥💥
@RishabhChatterjee-fg2gz2 ай бұрын
Awesome explanation ❤❤
@rohanpagare37866 ай бұрын
bhai, bohot sahi explanation kiya he aapne, thank you bhai.
@kareni75724 ай бұрын
Amazing! This place value is similar to “Next greater element III”
@cllabnatin51212 ай бұрын
Waah explaination better than striver, Great brother you made every problem looks easy.
@harshitshrivas54442 ай бұрын
He teaches good and explain very nice .. but there is no comparison of striver 😊
@RishabhChatterjee-fg2gz2 ай бұрын
@@harshitshrivas5444 striver bhai is question ko direct stack mein intuition build karaya isiliye bol rage hai
@harshitshrivas54442 ай бұрын
@@RishabhChatterjee-fg2gz if you are know some about coding and then you practice striver he is best because its question choice and all are no comparison. He explained well no doubt but why comparing with the person with best playlist all over KZbin tuf and tuf+
@devshubham55284 ай бұрын
amazing explanation, subscribe to banta hai (done✅)
@gui-codes6 ай бұрын
Truly the Intuition God
@32bhogawaraniketanil826 ай бұрын
I always love ❤ the way you explain the question, the intuition, and then the code.. Thank you very much for such amazing content.
@ananttripathi40233 ай бұрын
Bro ur content quality is soo soo much good.
@manassalunke17552 ай бұрын
Thanks bro, great work.
@fshimcds6 ай бұрын
Best Teacher ever😊
@RishabhDhiman-zf5wd6 ай бұрын
Really great way to explain and approach problem 🙌🙌.
@sadafkausar87706 ай бұрын
Eid Mubarak bhayya 🌙 🌙 You are soo good making vedio for us on this day also .
@Sahilsharma-sk5vr4 ай бұрын
keep making videos like this .
@biswarupacharjya22586 ай бұрын
you are my best teacher
@devgupta72906 ай бұрын
crazy explanation best one hands down 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@chethangowdahr76536 ай бұрын
bro, ur explanation is very good... nice video
@subhajitdey1356 ай бұрын
Hats off to your explanation ❤
@AnjuGupta-sz1uk6 ай бұрын
Really liked this approach of solving this problem... Bhaiya you are great , your explanations are best😊
@Virtualexist2 ай бұрын
Niceee! I implemented it on my own using the approach, but I modified original input instead. string removeKdigits(string num, int k) { for(int i =0; i(int)num[i+1] && k>0 ) { num.erase(i,1); i--; k--; } else i++; // agar index out of bound chale gaye less than 0 toh.. if(i0) num = num.substr(0,num.size()-k); // just to remove leading zeros int leading = 0; while (num[leading] == '0') leading++; if(leading) num.erase(0, leading); // agar sabhi kuch remove ho raha hai, toh.. if(!num.size()) num = "0"; return num; }
@rushikesh_nale076 ай бұрын
BESTESTT EXPLAINATION!❤❤❤
@YashSinghal6 ай бұрын
your intuition explanations are best!
@MEBSonukumar6 ай бұрын
thank you bhai for clearing T.C. Confusion
@ayoobraza87906 ай бұрын
Sir we need this type Intuition it's great 👍 100% understand basic to advance thanks you Sir
@study-yd6es6 ай бұрын
Amazing Explainationssss ❣❣
@ajinkyakhete11516 ай бұрын
I don't know you will read my comment or not but your explanations are the best, literally your tone of speaking , interaction with audience. Literally I have don't have words to say hats off brother .... Keep it up ☺️
@codestorywithMIK6 ай бұрын
😇🙏❤️
@hemendrachaudhary32636 ай бұрын
bhaiii yar tum aadmi OP ho
@aryangupta-sv8vb6 ай бұрын
nice yaar.. really aaj frustate hi hi gya tha
@mursalinhawlader64076 ай бұрын
you deserve more subscriber
@JatinGupta-ze6nc6 ай бұрын
thanks bhai for making me consistent
@ayaanrashid9606 ай бұрын
Eid Mubarak Bhai 🌙
@achrajpachauri34946 ай бұрын
Best Explaination !!!
@labadepradip77346 ай бұрын
aaj pata chala ki school ke basics kis tarah se use kar sakate hai is question me aur monotonic ka dr khatam ho gaya 🙂🙃
@raftywate6 ай бұрын
Eid mubarak, bhaijaan!🌛
@Chitranshu9726 ай бұрын
Best Explanation
@sonalkolhe45376 ай бұрын
Best Explanation🔥🔥🔥
@nikhilhaspe27346 ай бұрын
amazing Guru!
@tutuimam33816 ай бұрын
Amazing explanation ❤❤
@sailikpandey6 ай бұрын
Great Explanation Sir
@yogeshchauhan94016 ай бұрын
Very Intuitive Solution 👍👍Can you upload leetcode 729 too ?😅
@vishalsisodiya286 ай бұрын
Thank u so much bhaiya ❤
@akbar55555shaikh6 ай бұрын
you simply beat the explanation of all other KZbin channels. All teach how to solve the problem, but you show how to build it. In your case, DS comes later because that can be self-understood which DS to use.
@EB-ot8uu6 ай бұрын
you are legit bro.
@prathamcreator10436 ай бұрын
great solution bhaiya
@aizad786iqbal6 ай бұрын
amazing explanation thank you I tried to solve this earlier without watching any videos... I was trying to remove consecutive numbers only, when my code started failing earlier then I realize it was wrong one doubt, when k>0 , e.g. 123678 after traversal we are removing from the back and not considering the place value here I can see from example those are the largest numbers but earlier place value was more important hence confused, so please explain
@codestorywithMIK6 ай бұрын
When a number is already in ascending order then removing from front will be better because we already have lower numbers in most significant places and don’t want to get rid of them. For example : “1234” , K = 2 If you remove from front - “34” If you remove from back - “12” Obviously second one is smaller.
@tanujamehra6086 ай бұрын
It really helps me
@vm03056 ай бұрын
I am not sure about my approach, but tried using sliding window of k size here, like for input num = "1432219", k = 3, we have windows 143, 432, 332, 221, and 219. Out of these, max one is 432. So, its removal gives 1219. When I implemented it, it gave TLE at last testcase 😅
@SumitKumar-du6vf6 ай бұрын
yeah me too trying to do this but unable to implement it. Can you share your code here
@dss9636 ай бұрын
That is not always gonna give you correct answer
@bhuppidhamii6 ай бұрын
Eid Mubarak
@AmanKumar-qz4jz6 ай бұрын
bhaiya apne aapna intution itna acha kaise bana rakha h
@swagboltey1026 ай бұрын
Eid Mubarak ✨ Bhai ❤️
@kunalpatil.246 ай бұрын
Stack jaae bhaad me. 😂 Thank You!
@ugcwithaddi6 ай бұрын
Was waiting 🎉for
@jashanjotbedi17966 ай бұрын
Please make video on 877 stone game question from leetcode .
@8daudio6726 ай бұрын
❤🪄ur magesian sir🎉
@DevOpskagyaan6 ай бұрын
Eid Mubarak bro. Aaj bhi video daaldiya 🥺
@coderletscode6 ай бұрын
Eid Mubarak❤
@advitkothari73023 ай бұрын
gr8!!
@CodeMode93136 ай бұрын
Mast paaaji ....Eid mubarrak saar
@codestorywithMIK6 ай бұрын
Eid Mubarak 😇❤️
@abhinay.k27 күн бұрын
thank you
@xyzhwhs6 ай бұрын
Used dynamic programming , 23/43 test cases passed
@8daudio6726 ай бұрын
Happy Eid sir❤
@kunalpatil.246 ай бұрын
Eid Mubarak!!!
@codestorywithMIK6 ай бұрын
Eid Mubarak ❤️❤️🌙🌙
@JatinGupta-ze6nc6 ай бұрын
Bhai leetcode 53 kadane algorithm p ek video dalo please begineer se advance tk
@bhuppidhamii6 ай бұрын
aaj pahli baar school m padha hua kaam aya 😅😅
@atanubasak72446 ай бұрын
I see future Coding Carryminati in your video
@JagannathDebGunin6 ай бұрын
Eid Mubarak dada❤
@virendratambavekar616 ай бұрын
Bhaiya Leetcode Q. No. 25 (Remove Nodes in K Group ) ka easy approach bato na
@31parvjain326 ай бұрын
Provide these slides link well It will be really helpful
@codestorywithMIK6 ай бұрын
Sure thing. I am a little occupied now, I will share the slide link tonight for sure ❤️❤️
@closer96896 ай бұрын
Aaj lga ki code krna bhi entertaining ho skta hai>>> Kyoki Nyi Nyi stories sunna kisko nhi Pasand😂
@codestorywithMIK6 ай бұрын
So guys, “Aao, story se code likhe” 😁❤️
@pradeepranjan82266 ай бұрын
i submitted wrongly 6 times, coz of those shitty corner cases. But how do we know in real interview that these many corner cases are actually exist in the problem?? Finding all corner cases are not easy sometime, thats what i feel.
@anandoganiya90706 ай бұрын
Bro maximum wins from two segment ye wala question karo please
@RajanSahu-z5i6 ай бұрын
Love u bro, happy ugadi
@codestorywithMIK6 ай бұрын
❤️❤️😍😍 Happy Ugadi
@gyandyan6 ай бұрын
bhai yaar apan ko string de rki h like-"1432219" toh sabse chota Number jo ban sakta h vo toh ---"1122" here i remove 4,3,9... why this was not a answer ?? please tell me
@codestorywithMIK6 ай бұрын
You can’t rearrange the number.
@abcd768206 ай бұрын
mzaa aaya ❤
@chitranshjain97146 ай бұрын
Please complete dp concept series
@wearevacationuncoverers6 ай бұрын
yes please sir @codestorywithmik
@codestorywithMIK6 ай бұрын
Sure. Next video Coming this weekend
@solosanskar4906 ай бұрын
Stone Game 7 pe ek video bna do sir please
@DeveloperRB6 ай бұрын
understood
@shreyrawat71086 ай бұрын
Respect
@Ramgangakumar3 ай бұрын
aapka video kaafi long hota h thoda short banao sir...
@VM-ek7td3 ай бұрын
😊😊
@xyzhwhs6 ай бұрын
Dynamic programming is more intutive
@vidishajahanvi49486 ай бұрын
please solve in java also
@codestorywithMIK6 ай бұрын
I will definitely try to cover java coding in future videos. As of now, I put C++ as well as JAVA code in the github link in the description 😇🙏
@manishkumarnirmalkar56336 ай бұрын
Bhaiya but sabse chota to 1123 ho ga na
@codestorywithMIK6 ай бұрын
You can’t rearrange the digits in the string
@AmruthavarshiniMavuri6 ай бұрын
Bhaiyya can you explain in English in your videos
@aa_maruf6 ай бұрын
❤❤
@CSERITIKSINGH6 ай бұрын
sir please give notes of ipad pdf it is very helpful for revision
@codestorywithMIK6 ай бұрын
Sure thing. I am a little occupied now, I will share the slide link tonight for sure ❤️❤️
@CSERITIKSINGH6 ай бұрын
Bhaiya please daily pdf bhide diya kro bahut help hoti hai kyo ki samajh me AA jata hai par revision ke liye best rahta hai
@codestorywithMIK6 ай бұрын
Sure. Thing Let me upload the PDF for yesterday now. Also you can check here for other PDFs that I have uploaded. I will upload more in future also with every video
@codestorywithMIK6 ай бұрын
Added 👍🏻
@ayushsrivastava28296 ай бұрын
full dsa laooo
@souravjoshi22936 ай бұрын
thumbnail 😂🔥🔥
@factinsaan43336 ай бұрын
class Solution { public: string removeLeadingZeros(string &str) { size_t pos = str.find_first_not_of('0'); if (pos !=string::npos) { return str.substr(pos); } return "0"; } string removeKdigits(string num, int k) { if(k==num.length()) return "0"; string st=""; int i=0,n=num.length(); while(i
@dhruvrawat70236 ай бұрын
class Solution { public: string removeKdigits(string num, int k) { string fa = ""; int n = num.size(); for(int i = 0; i < n; i++){ while(fa.size() > 0 && fa.back() > num[i] && k > 0){ fa.pop_back(); k--; } if(fa.size() > 0 || num[i] != '0'){ fa.push_back(num[i]); } } while(k > 0 && fa.size() > 0){ fa.pop_back(); k--; } if(fa.size() == 0){ return "0"; } else{ return fa; } } };
@karnikasingh91406 ай бұрын
💯💯💯💯💯💯
@gauravparasar45716 ай бұрын
class Solution { public: string removeKdigits(string num, int k) { string res = "" ; for( int i=0 ; i 0 && res.back() > num[i] && k>0) { res.pop_back() ; k-- ; } if( res.length() > 0 || num[i] != '0') { res.push_back(num[i]) ; } } while( k > 0 ) { res.pop_back() ; k-- ; } if( res == "") { return "0" ; } return res ; } }; why it gives me error ??
@visheshpandey90706 ай бұрын
bcoz for while(k>0) it should be corrected to while(k>0 && res.size()>0)