Backtracking Introduction + Maze Problems - Theory + Code + Tips

  Рет қаралды 223,396

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

Пікірлер
@KunalKushwaha
@KunalKushwaha 6 ай бұрын
DSA + interview preparation playlist: kzbin.info/aero/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
@komalchauhan7535
@komalchauhan7535 5 ай бұрын
Kunal Please complete this playlist
@hforhonour
@hforhonour 5 ай бұрын
Hi Kunal, desperately waiting for your DP playlist.
@sreeharsha9010
@sreeharsha9010 5 ай бұрын
Eagerly waiting for the OP-DP playlist Kunal! loved this tons❤
@kalpeshmali1476
@kalpeshmali1476 3 жыл бұрын
finally a teacher who understand that this topics are important to cover in depth and u have done this job 🔥🔥🔥🔥🔥
@rohitchilhorkar8114
@rohitchilhorkar8114 3 жыл бұрын
I watched all the videos of this playlist from the beginning and I must say you just made this complicated topics so easy to understand. Processed and Unprocessed String pattern is just awesome and has plenty of application's with slight variations. This video and the video before this was a cake walk for me, since I understood all the concepts very well. Thank you for making such an amazing playlist, you're really an amazing teacher. Kudos!
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Glad it was helpful!
@ALister_priyanshu
@ALister_priyanshu 3 жыл бұрын
@@KunalKushwaha yes just love the playlist by far the best OOP playlist ....just do complete the rest of the playlist...waiting for DPs and Hashmaps.
@kartikking7
@kartikking7 2 жыл бұрын
@@KunalKushwaha hey...pls finish this playlist before starting new ones! These videos are amazing and it must nit be discontinued.
@lyricalbeatz224
@lyricalbeatz224 2 жыл бұрын
I too feel the same
@Abcd-qp8gi
@Abcd-qp8gi Жыл бұрын
​@@KunalKushwahaHello sir can you help me in a program . I'm struggling. can you send your email I'd...
@dipalitusharvlogs7252
@dipalitusharvlogs7252 Жыл бұрын
There is no doubt about Kunal's teaching skills, The way he looks at camera, feels like he is Infront of me and teaching 💚
@techyamanbyte
@techyamanbyte Жыл бұрын
Kunal, your DSA videos are an absolute treasure! Your ability to break down complex concepts and provide a clear thought process for solving problems is truly remarkable. Your dedication to making these topics easy to understand is greatly appreciated. Thank you for your fantastic work!
@shaunvarghese3400
@shaunvarghese3400 3 жыл бұрын
This is the first time i am learning backtracking....and i am glad i bumped into THIS video....very well explained....thanks Kunal...👌🙌
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Great to hear!
@sahilgarg9340
@sahilgarg9340 7 ай бұрын
Kunal, discovering your playlist is like finding a hidden gem-unexpected but incredibly rewarding. It's a fantastic collection for both students and professionals learning data structures and algorithms.
@CodeWithMe-N
@CodeWithMe-N 8 ай бұрын
The way you explain the thought process, just WOW. Anyone can fall in love with recursion after watching this playlist.
@de-codr8814
@de-codr8814 3 жыл бұрын
best explanation available on youtube, literally the concept got imprinted in my mind, Kunal is too OP.
@shubhamagarwal7876
@shubhamagarwal7876 2 жыл бұрын
Never in my life I could have imagined to solve or understand these problems. Thanks Kunal for such an explanation that is so generic and applicable. Watching your JAVA videos I rocked all my java interviews. This playlist is super awesome. I thank you giving my career a boost and direction.
@nikhilchauhan3506
@nikhilchauhan3506 2 жыл бұрын
bhai hamne 1:11:24 m condition false kyu add kri, jes ehi nice ki true condition hit kregi wo fir se false wale ko hit kregi, please explain
@akashprasad2556
@akashprasad2556 2 жыл бұрын
@@nikhilchauhan3506 If you haven't figured it out- Short answer - true wali statement tabhi execute hogi jab control return ho raha hoga.
@PriyaSingh-zb5wn
@PriyaSingh-zb5wn 9 ай бұрын
watching long videos of recursion was worth it , can't thank you enough for these .🙏
@kanakkanak1520
@kanakkanak1520 3 жыл бұрын
Thank you for making the recursion concept so easy😊 also, for breaking the myth 21:52, I believed in it for the longest time
@abhishekgoud12
@abhishekgoud12 Жыл бұрын
Really the way this guy clears concept is something I have seen multiple video on rat maze but this man cleared all my doubts by solving same question using different ways. Specially that last question he printed entire matrix path this give me a clear picture of all recursion calls.
@ankit_1012
@ankit_1012 3 жыл бұрын
Forget about content or the way of teaching others can't match even in terms of length of any single video of this dsa playlist.. 😁😁😁 There's a reason why the Community is so much excited about this dsa course Btw now it's getting hard to match kunal's speed of uploading videos with my learning & practice speed 😅😅😅
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thanks! Do it at your own pace.
@felixboachieyiadom4457
@felixboachieyiadom4457 2 жыл бұрын
@@KunalKushwaha please do dp I'm struggling a bit with it
@apnikakshya
@apnikakshya 6 ай бұрын
SIR WHEN COVER REMAINING TOPICS​@@KunalKushwaha
@jknair0
@jknair0 3 жыл бұрын
Love you're channel! I cant believe how much similar the approaches are. I would have never thought mazes and subsequences are soo similar!
@fxtstudios3285
@fxtstudios3285 2 жыл бұрын
Your codes are masterpiece , the more one understand them , the more they like it. Still , wisest are they who know that they don't know.
@AmitVishwakarma27
@AmitVishwakarma27 7 ай бұрын
I wanted to say by far this is the best playlist for learning DSA and algo I came across. Kudos to Kunal.. and thanks for creating such awesome contents :)
@manishchauhan4630
@manishchauhan4630 Ай бұрын
i really love the way you explain its like every single word is on point no drama no distraction its been 2 months since im coding and now i really feel so good watching your video s
@KARAN_-co1id
@KARAN_-co1id Ай бұрын
One of the best introduction of backtracking. Just like a thrilled movie with suspense..!!!
@udayansingh6788
@udayansingh6788 2 жыл бұрын
Man this tutorial was sooooooo good!!!!! Before starting this series I never felt confident in recursion but today I was able to solve problems on my own. I can see that my problem solving skills have really improved. Thank you so much Kunal!! ❤❤
@subhankarkanrar9494
@subhankarkanrar9494 11 ай бұрын
I am enjoying your full course. I have one request for you --> Please complete it with DP.
@chitvangarg201
@chitvangarg201 3 жыл бұрын
your teaching skill is just amazing i had enrolled around 10 courses but i never get such understanding of concept as i got with your lectures, thanks a bunch for providing this great DSA course for free
@anshulporwal3957
@anshulporwal3957 8 ай бұрын
Just awesome. The best video available for backtracking. Hats off to you Kunal.
@KunalKushwaha
@KunalKushwaha 8 ай бұрын
Glad you liked it!
@saitejakatta1156
@saitejakatta1156 Жыл бұрын
I didn't hear about back tracking before and for me now it is easy but when I have seen the comments I understand that Kunal had made it easy .What a way of explanation EXCELLENT Teaching Skills you have and thanks you for making the Playlist
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Thanks for sharing
@shofiyabootwala2094
@shofiyabootwala2094 3 жыл бұрын
You not only explained the concept of backtracking but also explained why do we actually need it. Splendid explanation as always. Thank You!
@AkashDas-ze2co
@AkashDas-ze2co 6 ай бұрын
In video also we are learning recursion...like some doubt arises go to the previous videos and again in the previous videos doubt arises go to the another previous video.....at the end if we will reach the base condition which we will have all answers and then we will return to this video with all doubts cleared. 😂😂 BTW great effort and way of explaining the problems is really appreciable...hats of to you sir🙏🙏 ❤❤
@anandj3616
@anandj3616 Жыл бұрын
literally solved all the questions before his explanation because of his previous recursion videos knowledge . kunal your recursion playlist is 🔥🔥🔥
@amithhd
@amithhd Жыл бұрын
Hp wawawa 👌
@Setchuko
@Setchuko Жыл бұрын
kunal... when i saw the last problem solution without my knowledge i clapped and shouted ....... u r great ...
@manishkasera8584
@manishkasera8584 3 жыл бұрын
Dil se khushi hota hai yr aisa video dekh ke and most important topic smjh ke 🔥🔥🔥🔥🔥🔥🔥
@sauravkalita2006
@sauravkalita2006 2 жыл бұрын
I must say Kunal, I was having a hard time understanding backtracking and other concepts in my college years as the teacher overcomplicated things when they were teaching these concepts. But the way you taught in these videos with such an innovative way, I can understand it so easily and I finally can feel confident whenever I tackle with such problems. Thank you Kunal and a Happy Teacher's Day
@cdp1191
@cdp1191 Жыл бұрын
This is the best course on KZbin thanks Kunal Kushwah
@aakashmalhotra3157
@aakashmalhotra3157 2 жыл бұрын
Even a cpp student also watching these videos because such awesome content is not available for cpp.
@Tomharry910
@Tomharry910 Жыл бұрын
While there is no dearth of online tutorials and resources available to explain these difficult and complex topics, few themselves have the clarity of these hard to grasp concepts and nobody so far explained them with such great clarity as you have done. Words fail me to express my gratitude for you. I just want to thank you from the bottom of my ❤ for the great work you are doing 🙏🙏💐
@tillapudisudhakar7499
@tillapudisudhakar7499 6 ай бұрын
Sir, I can't believe how much i learned from your videos, Thank you so much for providing all these stuff for free. we vow you a lot.Thank you Kunal Sir.
@milan_20
@milan_20 Жыл бұрын
There's nothing simple concept explanation like this... Ever seen💯👌🏻
@Ayush-bk3rv
@Ayush-bk3rv 3 жыл бұрын
I dont even know these topics as im not from a cs background but i have faith in this guy, might not land a FANG company but definitely learning something new everyday
@PranjalChalak
@PranjalChalak Ай бұрын
Have stopped video in code for Q5, just to say that backtracking just by adding 2 lines of code was awesome 🔥🔥🔥
@KshitizAnand-xr1wj
@KshitizAnand-xr1wj 4 ай бұрын
I am really glad for having learned such a wonderful concept. Thank you for this video.
@dylandeffoh8164
@dylandeffoh8164 Ай бұрын
the goat you have the mastering of helping breaking problems
@jamespeterson7824
@jamespeterson7824 2 жыл бұрын
Amazing teaching, Amazing thought process, The way how problems are being break down as per pattern, and they are so easy to understand and solve. Hats off to you kunal. Great work towards helping others with your skills. Thanks 🙂
@subham54321
@subham54321 3 жыл бұрын
Hi Kunal, your course is THE BEST. please release the video of OOP, when can we expect the OOP video?
@MalobikaNandy
@MalobikaNandy 5 ай бұрын
Absolutely incredible. Watched all the videos and able to understand the process and idea behind. Thanks a lot!
@PRBharath
@PRBharath 2 ай бұрын
Never thought such a teacher will be available for me to help me with java dsa.
@chandradithyak.g460
@chandradithyak.g460 3 жыл бұрын
Amazing explanation kunal. Was able to understand each and every step. Please make a video on generate all combinations of well-formed parentheses. I was seeing all videos for that question but was not able to understand it
@preciso5831
@preciso5831 2 жыл бұрын
Best backtracking and recrusion explanation video all over the internet for beginners.
@PradeepYadav-fg2yg
@PradeepYadav-fg2yg 3 жыл бұрын
28:44 the way problem was solved left me in awwww 🙏🙏🙏🙏
@siddharthupadhyay4246
@siddharthupadhyay4246 2 жыл бұрын
Amazing, such a smooth way to build up to the last complicated solution.
@robin5862
@robin5862 Жыл бұрын
Absolutely loved your dsa playlist, i have been watching since start. Also we make dev initiative is super helpful. After completing your dsa course i am going to study web dev from we make dev. But some topics of dsa you have still not covered, please complete the dsa playlist soon. I really appreciate the good work that you are doing, keep it up.
@aInvincibleProgramer789
@aInvincibleProgramer789 Жыл бұрын
Mene apka playlist dekh krr phla question khud se bnaya aur baki ke bhi bna dala thanxx bhaiya 😍❤❤
@edukondalugumma3753
@edukondalugumma3753 2 жыл бұрын
Awesome Kunal. I just started learning these DSA. Its so interesting with your videos. Kudos
@sukanyapawal6376
@sukanyapawal6376 2 жыл бұрын
Best explanation. I never knew what backtracking was, but after watching this video I understood the concept in depth. Thankyou Kunal Bhaiyya!
@chaitanyaprasad6924
@chaitanyaprasad6924 3 жыл бұрын
This is Amazing!! Understood BackTracking like a charm!!! Now I;ll try Sudoko solver on my own and I'm confident I can solve it because of how clearly you taught this!!!
@ankurtiwari9621
@ankurtiwari9621 Жыл бұрын
Loved this playlist..Making hard things look so easy..highly recommend this course to any software developer , if wanted to learn the concept ( irrespective of the language). Kudos !!
@aarya3605
@aarya3605 2 жыл бұрын
The way u explain is next level seriously 💯
@rockya007
@rockya007 2 жыл бұрын
kind of satisfaction after learning all this stuff is priceless
@swatibohidar1678
@swatibohidar1678 5 ай бұрын
Best Backtracking I have ever seen and understood
@ReenaRote
@ReenaRote Жыл бұрын
After watching your video's I've got next level of confidence to solve recursion problems.. You are a very good at simplifying concepts.. Thank you
@CodeWithMe-N
@CodeWithMe-N 8 ай бұрын
ngl recursion has become my favourite after this playlist.
@deekshithpranav1619
@deekshithpranav1619 3 жыл бұрын
Hey bro, just wanted to let you know that I was able to do some problems in the video without actually watching it. Thanks to your previous videos in the playlist.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Great to hear!
@rahulkumar-xu9rv
@rahulkumar-xu9rv 6 ай бұрын
you are a genius kunal .
@arjunmangali2904
@arjunmangali2904 Жыл бұрын
Kunal First of all thank you so much. I love the way you teach, you know how to teach what to teach. Amazing kunal, finally i feel i doing right teacher, And big thanks to you, your java videos helped me in cracking 10+LPA job as a fresher, thanks a lot @kunal
@anushkjain4528
@anushkjain4528 7 ай бұрын
That was awesome @kunal!!!!
@pratikshar344
@pratikshar344 3 жыл бұрын
What an explanation 🔥🔥 starting with this topic again and watched this ..great start indeed💥
@דןחסון-ש4ס
@דןחסון-ש4ס 10 ай бұрын
Dear Kunal, We have no words to thank you! You litertly save us in our degree. Are there videos about dynamic programming already?
@malavipande6693
@malavipande6693 2 жыл бұрын
We are blessed having teacher like you kunal sir!🤗
@malavipande6693
@malavipande6693 2 жыл бұрын
@@nikhilchauhan3506 can you elaborate in English please !
@nikhilchauhan3506
@nikhilchauhan3506 2 жыл бұрын
​@@malavipande6693 i got the answer, btw thanks for your assist
@malavipande6693
@malavipande6693 2 жыл бұрын
@@nikhilchauhan3506 Even though I have to know cloud you please tell me in english.
@nikhilchauhan3506
@nikhilchauhan3506 2 жыл бұрын
@@malavipande6693 cloud?
@malavipande6693
@malavipande6693 2 жыл бұрын
@@nikhilchauhan3506 typo error that's could
@pratyakshtrivedi6694
@pratyakshtrivedi6694 6 ай бұрын
BEAUTIFUL EXPLANATION MAN..........HATS OFF....🔥🔥🔥
@manojgollapelli9856
@manojgollapelli9856 2 жыл бұрын
i cant express my thanks to this guy.. what a video.. 💥🔥
@050saiteja7
@050saiteja7 2 ай бұрын
Kunal wrote an optimised version for the 'Counting Paths' (Q1) problem. I wanted to write code so that when the person reaches the cell (1,1), only then a path is returned. When the person reaches a last row or column, then the other dimension should be decreased till the base condition hits. Since the return type is int, we need to return the function in these if and else if clauses. public static void main(String[] args) { int r = 3; int c = 3; System.out.println(pathsofmaze(r , c)); } static int pathsofmaze(int r , int c) { if(r == 1 && c == 1) { return 1; } if(r == 1) { return pathsofmaze(r , c - 1); } else if(c == 1) { return pathsofmaze(r - 1 , c); } int left = pathsofmaze(r , c - 1); int right = pathsofmaze(r - 1 , c); return left + right; }
@aishikpal7139
@aishikpal7139 2 жыл бұрын
Eagerly waiting for the video on DP. Please upload it soon. 🙏🙏
@davidmwangi4312
@davidmwangi4312 3 жыл бұрын
Thanks, Kunal for this Amazing series. Keep up the good work Man.
@dibbyarupdutta3525
@dibbyarupdutta3525 2 жыл бұрын
There's no match for the way you explain things Kunal.
@shivamkumarchaudhary2679
@shivamkumarchaudhary2679 2 жыл бұрын
I really enjoyed this lecture like binary search
@logic2789
@logic2789 2 жыл бұрын
watched your entire recursion playlist I must say, you just made recursion very easy(atleast for me). Permutations, subsequences you made them easy for me, I was able to solve many of its applications with slight variations. Thank you Kunal for making this amazing playlist you always make complicated topics easy for us.
@PrasadOnSocials
@PrasadOnSocials Жыл бұрын
hats off to you Kunal
@azmat6428
@azmat6428 2 жыл бұрын
At some points when I see you, I kinda get laugh. Anyway I love your teaching bro. Thanks a lot man. You are helping every person who are need of learning DSA and JAVA.
@cindrasenareddy1929
@cindrasenareddy1929 2 жыл бұрын
legendary as always
@anassaif3181
@anassaif3181 2 жыл бұрын
Kunal ...you have got now 200K Subscribers.... Now plz continue the DSA Bootcamp..🥺...
@shrutikanda
@shrutikanda 8 ай бұрын
Thank you much Kunal for making this course . Just wondering when are you planning for Dynamic Programming and Graph series? Thanks once again .
@nishu0766
@nishu0766 5 ай бұрын
please upload all the remaining topics of this DSA playlist as soon as possible
@hargunsingh8800
@hargunsingh8800 Жыл бұрын
Hi Kunal, Your recursion playlist on KZbin has been a game-changer for me! I have learned so much and have been able to apply the concepts in my coding projects. I would love to see a new lecture series on dynamic programming. I know it's a challenging topic, but I trust your teaching style and explanations to make it more approachable. Keep up the great work!.
@SK-oz7kr
@SK-oz7kr 5 ай бұрын
At 16:03 "No one can help you" is so true...
@chandrus5847
@chandrus5847 9 ай бұрын
best best best the best Explanation in the world
@indukumari193
@indukumari193 3 жыл бұрын
Amazing explanation of backtracking kunal thanks a lot🙏 😊😊.
@phoyangsajamatia924
@phoyangsajamatia924 2 жыл бұрын
Man , i get chills when you explain , it gets so much easier with your explanation Thanks a ton kunal👍🏻
@shobhitupadhyay4711
@shobhitupadhyay4711 10 ай бұрын
Man !!!!!!!!, bhaiyaa i am always fascinated by the way you teach in every video why aren't you the CEO of Goggle already😭😭
@satyampandey3136
@satyampandey3136 6 ай бұрын
Thank you so much Kunal for these wonderful explanations. Requesting you to please provide the dynamic programming lecture link that you discuss in your lectures.
@100Days-nt6cx
@100Days-nt6cx 10 ай бұрын
Such a nice video. You have created interest of tech inside me. Loved watching your video.
@thenomad8750
@thenomad8750 Жыл бұрын
bro WTF why is this playlist put to halt. This playlist is legit knowldge provider. it should continue. placements are near.
@deeppanchal5102
@deeppanchal5102 6 ай бұрын
Fun Fact : DP was never made in future till this vidoe after 2 years though ..............................
@lyricalbeatz224
@lyricalbeatz224 2 жыл бұрын
Really I'm solving recursive programs .It's only because of u .
@take_a_breath100
@take_a_breath100 7 ай бұрын
Kunal is wow a intellectual human being ..
@devjeff3192
@devjeff3192 2 жыл бұрын
Thank you soooo much, your explainations are incredible. Thank you, brother !!!!
@girirajtomar519
@girirajtomar519 3 жыл бұрын
Best Backtracking lecture bhai !!
@Shourya_performs
@Shourya_performs 3 жыл бұрын
Now we are readyyyyyyyyy for DP. Eagerly waiting
@uttamdev
@uttamdev 3 жыл бұрын
hey kunal do mark this timestamp as well 🤷‍♂️🤷‍♂️ 1:18:23 . Your first ever small rap on Arrays, somewhat similar to Bart's rap
@rsambas
@rsambas 2 жыл бұрын
Awesome videos👏👏👏. Please post videos on binary tree, graph and dynamic programming. Thank you!
@v19993
@v19993 3 жыл бұрын
Seriously bro ,you are incredible.
@kushalsarda3435
@kushalsarda3435 2 жыл бұрын
Pleaseeee make video on DP plzzzz, ur teaching is the perfect way, we have forget to memorize... just understand and apply thankss a lot!!
@dineshmadduru7043
@dineshmadduru7043 7 ай бұрын
Thanks for the video :) btw your rap is cool 😅
@RAHULRAJ-et9se
@RAHULRAJ-et9se Жыл бұрын
this man is insane ❤‍🔥
N-Queens, N-Knights, Sudoku Solver (LeetCode) - Backtracking Questions
1:19:26
Recursion - Array Questions (Theory + Code + Tips)
1:18:48
Kunal Kushwaha
Рет қаралды 351 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 539 М.
How to Remember Everything You Read
26:12
Justin Sung
Рет қаралды 3,2 МЛН
What School Didn't Tell You About Mazes #SoMEpi
12:49
mattbatwings
Рет қаралды 285 М.
8 Rules For Learning to Code in 2025...and should you?
12:59
Travis Media
Рет қаралды 257 М.
Introduction to Recursion - Learn In The Best Way
1:55:49
Kunal Kushwaha
Рет қаралды 1 МЛН
What P vs NP is actually about
17:58
Polylog
Рет қаралды 147 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 257 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 637 М.
Recursion Subset, Subsequence, String Questions
1:23:56
Kunal Kushwaha
Рет қаралды 350 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 853 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.