Lecture39: Permutations of a String || C++ Placement Course
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
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 ...
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. 🙏😊🙏🙏
I never thought that this could be done in this way. Now I understand the significance of recursion tree.
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.🫂
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.😍
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. 👏👏
This course is really helping a lot in my DSA journey!! Shout out to Babbar sir!
learning consistency and recursion simultaneously , thank you for your effort and consistency 🔥🔥🔥
Ek dum "crystal clear" ho gaya hai concept bhaiya! Thank you so much! Please keep going!! ❤
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...🙃🙃😊🙂
aag lga di bhaiyaa, consistency sare youtubers apse seekhen ❤😎
->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.
Yes you are right it's redundant
exactly correct
opting to backtrack just saves a little memory ig :)
Bhaiyaaaa u r my inspiration ❤️. Trust me! I have seen your every video ❤️. Thanks alot for all this
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.
are you not Indian
@@dcxtreme6278 I'm Bangladeshi
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!
Samajh aa raha hai bhaiya, aur aapki consistency ke wajah se hi ,ham bhi regular ds question kar paa rahein hain,, thanku bhaiya🙏🙏
Hats off to you, aap ko covid hua he feer v aap ne apna consistency nhi chhodi...lots of love and prayers 🔥🔥
Ha
Prayers Ke sath Aag bhi Deh rhe ho shii hai bhai Thand bhi hai ...
@@Justin_Roy lol ,fire is for his consistency..
@@Justin_Roy 😂😂😂
Consistency is Reason behind a successful man not any woman (excluding mother ❤️ )
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
Itne questions aapne krwa diye. Ek hi concept ko itni baar bta h ki ab to neend me bhi solve kr denge.... 😍
Attendance marked 👍🤗
And thank you sir for this amazing course❤️❤️
how attandance make(to watch video or ????)
samaj aa gaya acche se.. thank you bhaiya for your efforts and amazing explanation🔥✅🙌🏻
Present bhaiya consistency level is 👍
The way you explained is just "WOW"
Samj Mein aa Gaya Bhaiya kaafi acche se!🙏🏼 Thank You so Much for this Priceless Course!💫
Marked my Attendance
Commenting for Reach!🔥
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...😅😅😅
congrats I know it's late but congrats.. God always has a plan.
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.
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.
u never let us feel that a particular questions is hard , the way u communicate is commendable sir , lots of love
Every solution explained in such elaborated way... amazing ❣️✨
Even without using Backtracking the desired answer can be achieved.(But doing backtracking is a good practice 🙂)
How
@@starbawa5587
for(int i =index;i
Thank you for your wonderful video, i understood the concept of Recursions and Backtracking fully!
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.🤩🤩
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
how for loop run in recursion..pls explain how it works
bro how did you learn this concept
plz help
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 ❤️❤️♥️
Haff off bhai!
I have no words.
👌🙏
humse achhe rahe or jldi good ho jaye
Ek dum "crystal clear" ho gaya hai concept bhaiya! Thank you so much!
Samajh aa gaya!!! Just because of you, I have confidence on myself that I can crack a software job... Thanks a lot bhaiya!!!
Excellent Explanation bhaiya.. Keep it up...enjoying the series... All clear so far!!!
samjh aa gya bhaiya aur thank you for this amazing course. hatts of to your efforts and consistency 💌
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.
Sir, Your way of explaining is just amazing.
This DSA series of yours is very helpful...
samjh me aa gaya bhaiya
Thank you for your hardwork and efforts for all of us....❤️❤️
Samaj aa gaya love babbar bhaiya you are like God for me who is making my life easy and better love you bro ❤️❤️❤️❤️❤️👍👍👍
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 🥰🥰🥰💯💯💯💯
Samajh aa gaya bhaiya .Its very best ever approach i have seen.
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
Amazing dedication love bhai!!!!
Your way of teaching is excellent.!!!
thank you bhaiya for this awesome content, apki har videos best rhti hai, hats off to you!!
superb video , this guy is regular and consistant as david gogins...❤
Present bhaiya!
Bhaiya keypad valla question aaj fir khudse kiya pura tree bnaya or Mast se solve kiya maza aagya❤❤
@CodeHelp-by Babbar Bhaiya smj aa gya hai . Thank you so much bhaiya to be consistent regularly.
Smjh aa gya bhaiya...
Thanks bhaiya for the effort u are putting on...for us💜
Bhaiya lec se pehle hi solve kar liye mene , Ek dam majaaa aa gaya 💥💥
Wonderfull Bhaiya
ek badiya se samaz aa raha gaya
thanks for the detailed explaination, looking for more such informative and detailed videos, thanks a lot.
Attendance marked 💯
Mje aa rhe h bhaiya ese hi continue chalte rho😀
Aagaya samajh main ❣️❣️, love u love bhaiya
samajh aagaya aau confidence bhi aa gaya bhaiya🔥🔥
Bhaiya yae wala concept ab is video ko dekhnae ke baad samaj mae aaya .... Thank you
bahut hi sandar tarike se aapne iss questions ke saath khela hai🙂
best man with lots of hardwork
smjh aa gya
Samaj nahi bilkul chap gaya hai mere dimag mein ♥️🤩🔥
Maza agya bhaiya 2 page lag gaye mere pura dry run karane mei par satisfaction bahut mila
Thanks again for your efforts ..
Bhaiya bahut maza aa raha hai, thank you for so much effort
bhai ek number ... sab samajh aagaya '
Sab samjh aa ra bhaiya..you are next level
samaj aa gaya bhaiya.thank you for your wonderfull video.
Done bhaiya... muje pehle hi samj aa gayi thi wo wali line... thx bhaiya...
bhot dino se dekh raha hu apki video and i appreciate the effort you are making i should also make efforts in understanding 😁
bhaiya samagh me aa gaya, thank you so much for such an amazing content
samaj aa gya bhaiya, bhot awla content hy❤.......
samajh me aa gya hai bhaiya
akdam se logic++
bhaiya mai 2 din se paresaan tha, aapne mast samjhaya maja aa gaya
yeh question pichle videos dekhkr khudse solve kr dia bhaiya🤧😊
gazab , samj aa gya sir maza agya iss qs me
maza agya bhaiya !! cystal clear things !!
Samaj aa gaya perfectly. Thanks
Smaj aa gaya bhaiya thankyou bhaiya for this amazing topic ❤️
Thank you, Bhaiya!!
Smjh mein aa raha hai bhaiya
maje agaye bhaiya thank u itna acha course banane ke liye ♥
samaj a gaya bhai, tussi grt ho , keep going!!!!
your way to teaching is just amazing, thank you love babbar bhaiya.....☺
i admire your patience u put hard effort on me in end of video parts Thanks for content
Thank You Bhaiyya ...Apke ke jaisa koi pdha nhi sakta 🙏🙏🔥🔥🔥
Dar khatama ho gaya bro, keyboard and permutation problem ka nam sunke dar lagta tha, dar--, confident++👍👍
Thankyou sir, Samaj me aagaya!!
Smjh ab a gya 1st time me nhi smjh aya tha bhaiya lekin after recivision time its crystal clr
hats off bhaiya and take care of yourself
Always like your smiling face ! Content appreciated!
Could confidently solve on my own except the backtrack part, which I think will be clear as we go, thanks again bhai.
samajh me aagaya and thank you very much bhaiya
Babbar bhai itna tagda parhaoge toh sbko ds aa jayegi. ❣
Thankyou bhaiy for this awesome lecture. Samaj me aa gaya
Aagaya Smjh Bhaiya ! Thank you ❤
I appreciate ur hard work which gives me motivation 😉😁😁😁😁
samajh mei aa gaya bhaiya
Bhaia best ho yr ...THanku so much 😄😇
samaz aa aagaya bhaiya ......nice video
A very good Recursion Series from You bhaiya it's helping us very much.