Lecture39: Permutations of a String || C++ Placement Course

Sdílet
Vložit
  • čas přidán 22. 07. 2024
  • In this Video, we are going to continue exploring a very important concept i.e. Recursion.
    There is a lot to learn, Keep in mind “ Mnn bhot karega k chor yrr apne se nahi yoga ya maza nahi aara, Just ask 1 question “ Why I started ? “
    Visit Relevel: relvl.co/7z8r
    Discord Server Link: / discord
    Course Flow: whimsical.com/dsa-4-placement...
    Notes Link: drive.google.com/file/d/1UcPq...
    Code Links: github.com/loveBabbar/CodeHel...
    Question Links:
    - Permutations Questions: leetcode.com/problems/permuta...
    Do provide you feedback in the comments, we are going to make it best collectively.
    Connect with me here:
    Instagram: / lovebabbar1
    Twitter: / lovebabbar3
    Telegram Group Link: Love Babbar CODE HELP
    telegram.me/lovebabbercodehelp
    Intro Sequence: We have bought all the required Licenses of the Audio, Video & Animation used.
    Timestamps:
    00:00 - Introduction
    00:33 - Question [Permutations Problem]
    02:57 - Promotion
    04:08 - Approach
    13:00 - Code
    17:36 - Dry Run
    #DSABusted #LoveBabbar

Komentáře • 1K

  • @srin42
    @srin42 Před 2 lety +23

    I watched atleast 10 other videos on youtube about permutation, read many articles.. but line no one explained like you.. I was not why a is swapped with again.. I understood after seeing your video. Plus line 14 no body explains about nice like you.Line 14 was very confusion since 4 days i was struggling and also doing dry run.. but you explained it nicely about line 14. Thank you so much ... Please continue do more videos from leetcode medium level... Your helping so many students who are not able to get quality education...Please keep going on...your reaching around the world. Thank you so much for your dedication and helping many students ...

  • @shresthsharma6922
    @shresthsharma6922 Před 2 lety +9

    Bhaiya whenver I saw your lectures , I never lost touch with you because of your great teaching style. I always felt like my big bro is teaching me , not a teacher. Hats off bhaiya and a sincere thank you from all of us for this amazing amazing course and content. 🙏😊🙏🙏

  • @RajeshKumar-fh2vv
    @RajeshKumar-fh2vv Před 2 lety +52

    I never thought that this could be done in this way. Now I understand the significance of recursion tree.

  • @itsaayush7357
    @itsaayush7357 Před rokem +6

    Y Banda yar hamesha h muskurata h..aur kitna polite way m smjhata h aur baat bhi karta he..
    I really love this man!
    Hats off to his efforts, hats off to his teaching style.🫂

  • @Jackson77119
    @Jackson77119 Před rokem +11

    I'm there for revision here and I directly jumped to the dry run and I was able to understand more of it. This man's explanations are just great.😍

  • @aryan5035
    @aryan5035 Před 2 lety +5

    Samajh aa gya bhaiya.👍
    I have seen all your videos till now, and all are well explained.
    The patience with which you teach a concept is appreciative. 👏👏

  • @shahtanmay902
    @shahtanmay902 Před rokem +7

    This course is really helping a lot in my DSA journey!! Shout out to Babbar sir!

  • @shaileshyadav97
    @shaileshyadav97 Před 2 lety +8

    learning consistency and recursion simultaneously , thank you for your effort and consistency 🔥🔥🔥

  • @RohitKumar-oo8lo
    @RohitKumar-oo8lo Před 2 lety +5

    Ek dum "crystal clear" ho gaya hai concept bhaiya! Thank you so much! Please keep going!! ❤

  • @aryanmaurya3261
    @aryanmaurya3261 Před 2 lety +17

    Thank you bhaiya for making this series I joined this late but I will cover all the lectures and reach your current lecture very soon...🙃🙃😊🙂

  • @fazerugbrug439
    @fazerugbrug439 Před 2 lety +9

    aag lga di bhaiyaa, consistency sare youtubers apse seekhen ❤😎

  • @davendrabedwal830
    @davendrabedwal830 Před 2 lety +11

    ->I think backTrack (line 14) is not needed if we are not passing nums vector as reference
    ->nums gonna take its arrangement according to where that is right now.

  • @laksheybanga8106
    @laksheybanga8106 Před 2 lety +11

    Bhaiyaaaa u r my inspiration ❤️. Trust me! I have seen your every video ❤️. Thanks alot for all this

  • @riyadhossain1706
    @riyadhossain1706 Před rokem +9

    Just finished watching your tutorial, and I wanted to drop by and say a big thank you! Your dedication and efforts really shine through in your content. I'm seriously impressed by how talented and kind-hearted Indians like you are when it comes to sharing knowledge.

  • @GbbxK
    @GbbxK Před rokem +2

    After seeing the recursion videos I have started to see the pattern in these types of problems and because of your help and guidance I am sure I will be able to solve similar types of questions in the future. Thank you bhaiya!

  • @ALOKKUMAR-qj2bw
    @ALOKKUMAR-qj2bw Před 2 lety +2

    Samajh aa raha hai bhaiya, aur aapki consistency ke wajah se hi ,ham bhi regular ds question kar paa rahein hain,, thanku bhaiya🙏🙏

  • @sasmitaparida1076
    @sasmitaparida1076 Před 2 lety +145

    Hats off to you, aap ko covid hua he feer v aap ne apna consistency nhi chhodi...lots of love and prayers 🔥🔥

    • @Vivek23_2
      @Vivek23_2 Před 2 lety

      Ha

    • @Justin_Roy
      @Justin_Roy Před 2 lety +3

      Prayers Ke sath Aag bhi Deh rhe ho shii hai bhai Thand bhi hai ...

    • @sasmitaparida1076
      @sasmitaparida1076 Před 2 lety +1

      @@Justin_Roy lol ,fire is for his consistency..

    • @sanchitsrivastav453
      @sanchitsrivastav453 Před rokem

      @@Justin_Roy 😂😂😂

    • @krishnodas6678
      @krishnodas6678 Před rokem +2

      Consistency is Reason behind a successful man not any woman (excluding mother ❤️ )

  • @anuragtiwari4182
    @anuragtiwari4182 Před 2 lety +3

    Hats off to you, aap ko covid hua tha feer v aap ne apna consistency nhi chhodi...lots of love and prayers 🔥🔥....lots of respect

  • @FarhanKhan-fp9qc
    @FarhanKhan-fp9qc Před 2 lety

    Itne questions aapne krwa diye. Ek hi concept ko itni baar bta h ki ab to neend me bhi solve kr denge.... 😍

  • @umangsachdeva9920
    @umangsachdeva9920 Před 2 lety +20

    Attendance marked 👍🤗
    And thank you sir for this amazing course❤️❤️

  • @sanchiagarwal4909
    @sanchiagarwal4909 Před rokem +3

    samaj aa gaya acche se.. thank you bhaiya for your efforts and amazing explanation🔥✅🙌🏻

  • @shivanshisharma3718
    @shivanshisharma3718 Před 2 lety +3

    Present bhaiya consistency level is 👍

  • @human75788
    @human75788 Před 2 lety +1

    The way you explained is just "WOW"

  • @_SahilShah
    @_SahilShah Před 2 lety +1

    Samj Mein aa Gaya Bhaiya kaafi acche se!🙏🏼 Thank You so Much for this Priceless Course!💫
    Marked my Attendance
    Commenting for Reach!🔥

  • @amulyaabhinandan8161
    @amulyaabhinandan8161 Před 2 lety +15

    Because of this question, I could not get selected in a company, but after a few months of preparation, I got a package of double as compared to that company...😅😅😅

    • @juturtaur298
      @juturtaur298 Před 16 dny

      congrats I know it's late but congrats.. God always has a plan.

  • @apurbakumarmajumder9478
    @apurbakumarmajumder9478 Před 2 lety +4

    Bhaiya I am following your DSA course from start and you are going to start OS course too soon but bhaiya is it enough.
    Don't take it otherwise I am a little concern, I completed class 12 in 2019 and then I stared working and in backend I was developing more skills but in this 2nd lockdown I lost my job and I then joined B.C.A course in a private university.
    You may say it is a tire 3 college or at least I consider it too be a tier 3 college.
    So now I am doing my B.C.A cource and learning DSA from your course but my college and my fellow students are focusing on CP and I tried CP but cannot do more than two question in tomorrow's CodeChef competition and for CodeForces I cannot even understand the problem statement for questions rating 800.
    What to do bhaiya now.

  • @soumya_8_
    @soumya_8_ Před rokem

    Thankyou bhaiya for teaching us dsa and the motivation written in the description, honestly I use to question myself couple of times why I chose this stream, but I clearly know the reason why I started.

  • @devanshdixitmusicallyyours3885

    u never let us feel that a particular questions is hard , the way u communicate is commendable sir , lots of love

  • @vanshikasingh2859
    @vanshikasingh2859 Před 2 lety +3

    Every solution explained in such elaborated way... amazing ❣️✨

  • @laughallday7521
    @laughallday7521 Před 2 lety +4

    Even without using Backtracking the desired answer can be achieved.(But doing backtracking is a good practice 🙂)

  • @devanshusahoo
    @devanshusahoo Před 2 lety +1

    Thank you for your wonderful video, i understood the concept of Recursions and Backtracking fully!

  • @mddanish2016
    @mddanish2016 Před 11 měsíci +1

    Sir, in my opinion , you are the best teacher on youTube of dsa. you have cleared all my doubt. Thank you so much love bhaiya. May god always with you in helping others. once again, thank you so much bhaiya.🤩🤩

  • @abhimanyusinghrana5764
    @abhimanyusinghrana5764 Před 5 měsíci +10

    We dont need the backtrack part in this question, since whenever the next swap is done the letter/ number is replaced by the next one.
    e.g.
    abc->bac->cba (using backtrack)
    abc-> bac-> cab (without using backtrack)
    now it doesnt matter if we have cba or cab since cba-> cab and cab->cba so the swaps will take care of the permutations which are left

  • @kritikeshsinha6321
    @kritikeshsinha6321 Před 2 lety +3

    how for loop run in recursion..pls explain how it works

    • @dopeamine3897
      @dopeamine3897 Před 5 dny

      bro how did you learn this concept
      plz help

  • @mohd.irfanlohar4544
    @mohd.irfanlohar4544 Před 2 lety +1

    Bhaiya pura question appki approach ke sath lagaya bina aapka code dekh ke backtracking bhi samjme aane lagi hai Thanks bhaiya for this great content ❤️❤️♥️

  • @saneaalam246
    @saneaalam246 Před 2 lety

    Haff off bhai!
    I have no words.
    👌🙏
    humse achhe rahe or jldi good ho jaye

  • @sandeepkumarg1889
    @sandeepkumarg1889 Před 11 měsíci

    Ek dum "crystal clear" ho gaya hai concept bhaiya! Thank you so much!

  • @aarnavsaxena8933
    @aarnavsaxena8933 Před rokem +2

    Samajh aa gaya!!! Just because of you, I have confidence on myself that I can crack a software job... Thanks a lot bhaiya!!!

  • @ritikpatel7918
    @ritikpatel7918 Před 2 lety +1

    Excellent Explanation bhaiya.. Keep it up...enjoying the series... All clear so far!!!

  • @NEXTTRYGAMING
    @NEXTTRYGAMING Před 2 lety +2

    samjh aa gya bhaiya aur thank you for this amazing course. hatts of to your efforts and consistency 💌

  • @kuldeeprajpurohit8638
    @kuldeeprajpurohit8638 Před 10 měsíci

    Followed your series and was able to solve the problem with watching this video. Thank you for the valuable content and hats off to the way you explain concepts.

  • @Ashk461
    @Ashk461 Před 10 měsíci +1

    Sir, Your way of explaining is just amazing.
    This DSA series of yours is very helpful...

  • @krishnabhosle4881
    @krishnabhosle4881 Před 2 lety +1

    samjh me aa gaya bhaiya
    Thank you for your hardwork and efforts for all of us....❤️❤️

  • @RahulKumar-wt9qc
    @RahulKumar-wt9qc Před 2 lety +1

    Samaj aa gaya love babbar bhaiya you are like God for me who is making my life easy and better love you bro ❤️❤️❤️❤️❤️👍👍👍

  • @udaytewary3809
    @udaytewary3809 Před 2 lety

    Samaj aa gya bhaiya maine ye problem pehle ki thi pr kuch samaj nhi aya lekin aaj apse phir se ye problem padha to sb kuch samaj aa gya 🥰🥰🥰💯💯💯💯

  • @hemensanmahilange4127

    Samajh aa gaya bhaiya .Its very best ever approach i have seen.

  • @roshanraj674
    @roshanraj674 Před 2 lety

    yes bro achha pdha rhe ho aap. smjh me aa rha h chije thodi tough lgti h kbhi kbhi but smjh k hi jaunga poora

  • @mrhk7777
    @mrhk7777 Před rokem

    Amazing dedication love bhai!!!!
    Your way of teaching is excellent.!!!

  • @ranuchaubey90
    @ranuchaubey90 Před 2 lety +1

    thank you bhaiya for this awesome content, apki har videos best rhti hai, hats off to you!!

  • @GoodWasteOfTime11
    @GoodWasteOfTime11 Před 10 měsíci

    superb video , this guy is regular and consistant as david gogins...❤

  • @Amankumar-tu9ku
    @Amankumar-tu9ku Před 2 lety

    Present bhaiya!
    Bhaiya keypad valla question aaj fir khudse kiya pura tree bnaya or Mast se solve kiya maza aagya❤❤

  • @graphian8990
    @graphian8990 Před rokem

    @CodeHelp-by Babbar Bhaiya smj aa gya hai . Thank you so much bhaiya to be consistent regularly.

  • @kaushalkumar01
    @kaushalkumar01 Před 2 lety

    Smjh aa gya bhaiya...
    Thanks bhaiya for the effort u are putting on...for us💜

  • @newindia3046
    @newindia3046 Před 4 měsíci

    Bhaiya lec se pehle hi solve kar liye mene , Ek dam majaaa aa gaya 💥💥

  • @abhishekmasali5351
    @abhishekmasali5351 Před 2 lety

    Wonderfull Bhaiya
    ek badiya se samaz aa raha gaya

  • @rohandevaki4349
    @rohandevaki4349 Před 2 lety +2

    thanks for the detailed explaination, looking for more such informative and detailed videos, thanks a lot.

  • @satveersaini1099
    @satveersaini1099 Před 2 lety

    Attendance marked 💯
    Mje aa rhe h bhaiya ese hi continue chalte rho😀

  • @deepesh16b
    @deepesh16b Před 2 lety

    Aagaya samajh main ❣️❣️, love u love bhaiya

  • @JasharajMallick
    @JasharajMallick Před rokem +1

    samajh aagaya aau confidence bhi aa gaya bhaiya🔥🔥

  • @abhishekparmar4437
    @abhishekparmar4437 Před 2 lety

    Bhaiya yae wala concept ab is video ko dekhnae ke baad samaj mae aaya .... Thank you

  • @rahulshah7499
    @rahulshah7499 Před rokem

    bahut hi sandar tarike se aapne iss questions ke saath khela hai🙂

  • @ellis-pr7hh
    @ellis-pr7hh Před rokem

    best man with lots of hardwork
    smjh aa gya

  • @VishalGupta-xw2rp
    @VishalGupta-xw2rp Před 2 lety

    Samaj nahi bilkul chap gaya hai mere dimag mein ♥️🤩🔥

  • @thetruth4461
    @thetruth4461 Před 2 lety

    Maza agya bhaiya 2 page lag gaye mere pura dry run karane mei par satisfaction bahut mila
    Thanks again for your efforts ..

  • @user-dy8mn7yc8z
    @user-dy8mn7yc8z Před 8 měsíci

    Bhaiya bahut maza aa raha hai, thank you for so much effort

  • @hrishabh_lifts253
    @hrishabh_lifts253 Před rokem

    bhai ek number ... sab samajh aagaya '

  • @srishtisingh6253
    @srishtisingh6253 Před 2 lety

    Sab samjh aa ra bhaiya..you are next level

  • @brijeshbhikadiya9139
    @brijeshbhikadiya9139 Před rokem +1

    samaj aa gaya bhaiya.thank you for your wonderfull video.

  • @ankushladani496
    @ankushladani496 Před 2 lety

    Done bhaiya... muje pehle hi samj aa gayi thi wo wali line... thx bhaiya...

  • @piyushtad2001
    @piyushtad2001 Před 2 lety +1

    bhot dino se dekh raha hu apki video and i appreciate the effort you are making i should also make efforts in understanding 😁

  • @ayushtiwari4194
    @ayushtiwari4194 Před 2 lety

    bhaiya samagh me aa gaya, thank you so much for such an amazing content

  • @oneIIU
    @oneIIU Před 10 měsíci

    samaj aa gya bhaiya, bhot awla content hy❤.......

  • @akkisujit145
    @akkisujit145 Před 5 měsíci

    samajh me aa gya hai bhaiya
    akdam se logic++

  • @aizajsamani8894
    @aizajsamani8894 Před 2 lety +1

    bhaiya mai 2 din se paresaan tha, aapne mast samjhaya maja aa gaya

  • @060_abhinav7
    @060_abhinav7 Před 10 měsíci

    yeh question pichle videos dekhkr khudse solve kr dia bhaiya🤧😊

  • @shantanu8880
    @shantanu8880 Před rokem

    gazab , samj aa gya sir maza agya iss qs me

  • @venomhighs1937
    @venomhighs1937 Před rokem

    maza agya bhaiya !! cystal clear things !!

  • @dhruv1863
    @dhruv1863 Před rokem

    Samaj aa gaya perfectly. Thanks

  • @NazimKhan-vl2zz
    @NazimKhan-vl2zz Před 2 lety

    Smaj aa gaya bhaiya thankyou bhaiya for this amazing topic ❤️

  • @ishashukla5263
    @ishashukla5263 Před 2 lety

    Thank you, Bhaiya!!
    Smjh mein aa raha hai bhaiya

  • @user-ow8ff1xb5t
    @user-ow8ff1xb5t Před 10 měsíci

    maje agaye bhaiya thank u itna acha course banane ke liye ♥

  • @harsh55
    @harsh55 Před 2 lety

    samaj a gaya bhai, tussi grt ho , keep going!!!!

  • @ayushidhamecha3638
    @ayushidhamecha3638 Před 4 měsíci

    your way to teaching is just amazing, thank you love babbar bhaiya.....☺

  • @vishal-nx6vh
    @vishal-nx6vh Před 10 měsíci

    i admire your patience u put hard effort on me in end of video parts Thanks for content

  • @abhishekshimpi214
    @abhishekshimpi214 Před rokem

    Thank You Bhaiyya ...Apke ke jaisa koi pdha nhi sakta 🙏🙏🔥🔥🔥

  • @sandiproy4977
    @sandiproy4977 Před 2 lety

    Dar khatama ho gaya bro, keyboard and permutation problem ka nam sunke dar lagta tha, dar--, confident++👍👍

  • @Ady-tf1jm
    @Ady-tf1jm Před 5 měsíci

    Thankyou sir, Samaj me aagaya!!

  • @AMANSINGH-zu4ry
    @AMANSINGH-zu4ry Před rokem

    Smjh ab a gya 1st time me nhi smjh aya tha bhaiya lekin after recivision time its crystal clr

  • @GamerGangOG99
    @GamerGangOG99 Před 2 lety

    hats off bhaiya and take care of yourself

  • @jatingarg1897
    @jatingarg1897 Před 2 lety +1

    Always like your smiling face ! Content appreciated!

  • @MrDeepanshugarg09
    @MrDeepanshugarg09 Před 2 lety

    Could confidently solve on my own except the backtrack part, which I think will be clear as we go, thanks again bhai.

  • @myyoutubeisthis
    @myyoutubeisthis Před rokem

    samajh me aagaya and thank you very much bhaiya

  • @adil_k
    @adil_k Před rokem

    Babbar bhai itna tagda parhaoge toh sbko ds aa jayegi. ❣

  • @anishbarnwal5676
    @anishbarnwal5676 Před rokem

    Thankyou bhaiy for this awesome lecture. Samaj me aa gaya

  • @avni2272
    @avni2272 Před 2 lety

    Aagaya Smjh Bhaiya ! Thank you ❤

  • @thetypicalone2525
    @thetypicalone2525 Před 2 lety +2

    I appreciate ur hard work which gives me motivation 😉😁😁😁😁

  • @ayushrathore3197
    @ayushrathore3197 Před 2 lety +1

    samajh mei aa gaya bhaiya

  • @divyanshu7123
    @divyanshu7123 Před 6 měsíci

    Bhaia best ho yr ...THanku so much 😄😇

  • @GauravJadhav-ml2my
    @GauravJadhav-ml2my Před rokem

    samaz aa aagaya bhaiya ......nice video

  • @hetpatel1772
    @hetpatel1772 Před rokem

    A very good Recursion Series from You bhaiya it's helping us very much.