Recursion Subset, Subsequence, String Questions

  Рет қаралды 350,091

Kunal Kushwaha

Kunal Kushwaha

Күн бұрын

Пікірлер: 382
@KunalKushwaha
@KunalKushwaha 6 ай бұрын
DSA + interview preparation playlist: kzbin.info/aero/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
@OmkarSriwastva
@OmkarSriwastva 3 ай бұрын
plz reply bro
@amruthaa5876
@amruthaa5876 3 жыл бұрын
If someone had skills like you especially the way you teach, they would launch this course as a paid one. Let it be anyone in this world. But you're here trying to help students like me and I'm very grateful. Thanks a ton, Kunal!
@Tomharry910
@Tomharry910 2 жыл бұрын
Dont give him ideas!
@utkrishtsneh8298
@utkrishtsneh8298 2 ай бұрын
Atleast the course would've been completed by now had it been paid
@Jatin-zn1px
@Jatin-zn1px Ай бұрын
​@@utkrishtsneh8298true
@shouryakhandelwal6484
@shouryakhandelwal6484 9 күн бұрын
@@utkrishtsneh8298 i am a coding beginner started this course just one month ago, so can you please tell me which things he hadn't taught yet and from where i could learn those things.
@Cloud-577
@Cloud-577 3 жыл бұрын
no one explained recursion in so much detail like Kunal. Please someone give Kunal a medal already
@poojabennabhaktula4883
@poojabennabhaktula4883 3 жыл бұрын
I dreaded recursion subset problem for almost an year now, and I stopped practicing because I was not very good with recursion. Now I can re-begin and work my way to FAANG
@jamtaranumber2841
@jamtaranumber2841 2 жыл бұрын
me in the situation where i cant understand subset problems specially when for loop is used
@sameerakhatoon9508
@sameerakhatoon9508 2 жыл бұрын
@@jamtaranumber2841 you still struggling w/ iterative approach? lemme know, i can help you, can share the explanation here
@jamtaranumber2841
@jamtaranumber2841 2 жыл бұрын
@@sameerakhatoon9508 yeah can you share your discord / linkedin
@dubeyarts8661
@dubeyarts8661 Жыл бұрын
Sister are u in good company now?
@arunny9430
@arunny9430 2 жыл бұрын
No one taught me recursion like you. I, like many others like me, initially thought I understood recursion completely after watching the Fibonacci and Factorial examples. But then the reality hit when I tried to solve some medium-level problems. I realized that my concepts are so hazy that I had no clue how to apply anything I learnt in logically writing code to solve a problem. This site not only taught me the concept, but it is also so thorough that it forced me see what is happening from different angles and write code in multiple ways. Thanks, Kunal, for making recursion as clear as algebra instead of it being some monster like vector calculus or something. You are so thorough. Awesome.
@shanmukhasivasai8335
@shanmukhasivasai8335 2 жыл бұрын
First I found Difficulty in understanding the subset problem . After carefully going through I too got it .This guy is awesome
@aakashprasad9777
@aakashprasad9777 3 жыл бұрын
Brother you are legend Several videos I have seen but I never understood these concepts You made these thing so easy Thanks Brother for such a beautiful and lovely content Concepts are fully cleared With the help of these videos now I have the faith and confidence to crack good companies Thanks Brother once again Great going Keep it up and deliver content like these
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
Thank You 🙏
@gouravsyal2052
@gouravsyal2052 2 жыл бұрын
@@KunalKushwaha at 1:16:50 we should not sort the array as it will rearrange the array and subsets will be wrong. And we know in subset : 2, 1, 2 is the subset of 2, 1, 2 but 1, 2, 2 is not subset of 2, 1, 2
@bijayMohanty12c5f
@bijayMohanty12c5f Жыл бұрын
​@@gouravsyal2052 yep bro
@bijayMohanty12c5f
@bijayMohanty12c5f Жыл бұрын
2,1,2 is subset of 2,1,2
@bijayMohanty12c5f
@bijayMohanty12c5f Жыл бұрын
​​​@@KunalKushwaha sir it change order of array 2,1,2 while sort it become 1,2,2 1,2,2 is not subset of (2,1,2 ) .(2,1,2) is subset of 2,1,2 1:16:08
@bhavanamalapur5171
@bhavanamalapur5171 3 ай бұрын
I've been following your course for the past two months, and I just wanted to take a moment to thank you, Kunal. You're truly a coding legend! The way you break down complex problems and explain the solutions in such a simple, understandable way is genuinely amazing. Your teaching style is inspiring!
@ARYANTIWARI-y5t
@ARYANTIWARI-y5t 3 ай бұрын
These are the best videos on KZbin and still have less about of commends it's not good i guess public is so lazy . but in reality how much this person give the efforts to make these videos . i appreciate .. A BIG THANK YOU
@armaanthakur8116
@armaanthakur8116 11 ай бұрын
Everytime you make me like your video no matter what I don't know anyone who explains every small things like you I love that you made this beautiful course for free even though it's so much worth. May krishna bless you !
@shakibsiddiqui2999
@shakibsiddiqui2999 3 жыл бұрын
Bro when i see your video it gives me confidence 👍
@singhsuryanshu
@singhsuryanshu 3 жыл бұрын
Kunal, I cannot believe this is so easy. I wrapped my head around with backtracking a lot and was still confused. Even took sessions of a paid educational website to understand backtracking. And literally I just watched your video once and all concepts are clear. You are legend.
@manavarora7644
@manavarora7644 3 жыл бұрын
+1
@rishika9102
@rishika9102 3 жыл бұрын
Hii can u please tell me that is this course worth following as m a beginner no programming background plz reply confused
@rishika9102
@rishika9102 3 жыл бұрын
@@manavarora7644 Hii can u please tell me that is this course worth following as m a beginner no programming background plz reply m confused
@Gookun
@Gookun 2 жыл бұрын
@@rishika9102 PICK A programming language first, then learn it.
@misbashaikh3357
@misbashaikh3357 Жыл бұрын
This video took me 8 hr to get completed but it all worth it. Thank you so much ❤
@nizamkarivarsha1020
@nizamkarivarsha1020 4 ай бұрын
I have seen so many videos related to java but no use after watching your videos Iam understanding concepts clearly Thankyou so much for helping those students who are not able to afford paid courses
@iamyasirameer
@iamyasirameer 2 ай бұрын
The man who invented the Recursion!
@chaitanyaprasad6924
@chaitanyaprasad6924 3 жыл бұрын
Amazing!!!! You proved that a good teacher is not one who tells all the solutions but someone we can lead us to all solutions. As once I listen to you logic coding has become damn easy!!
@aniketshetty6694
@aniketshetty6694 Жыл бұрын
Your confidence level is what makes you different from others. The best dsa course ever!
@rockrk2519
@rockrk2519 Жыл бұрын
can anybody please tell in which video kunal has covered sliding window...
@poorpanda9033
@poorpanda9033 Жыл бұрын
@@rockrk2519 he hasn't covered yet he definitely will
@anujar5508
@anujar5508 2 жыл бұрын
This is such a great video and it's incredible that you are not charging for sharing this immense knowledge. Just love the way you first explain the approach ,how to think and then actually solve the problem.Thankyou so much for these videos . And please please upload the graph and trees series 🙌
@mathlover7688
@mathlover7688 Жыл бұрын
ye kya ho raha dsa se main bore kyon nhi ho raha ye toh magic ho gya kunal bhai ,love you bhai aisa best content ke liye ab lag raha main sikh jaunga dsa
@charon71
@charon71 10 ай бұрын
it is unbelievable how easy you can solve recursion tasks after watching these videos. You really get told HOW to think. Thanks alot!
@KunalKushwaha
@KunalKushwaha 10 ай бұрын
So nice of you
@whatwelearntoday
@whatwelearntoday Жыл бұрын
This is the first time that i understood recursion in subsets after a lot of hunt for this material .Thanks a lot!
@KunalKushwaha
@KunalKushwaha Жыл бұрын
Glad to hear that!
@Lifeoffacts21
@Lifeoffacts21 11 ай бұрын
After all that your efforts and following all the previous playlist videos , Now i get some confidence in DSA to solve problems easily . Thanks Kunal bhaiyaa (Sir) for all that quality Content that i hunt for all over youtube
@jamespeterson7824
@jamespeterson7824 2 жыл бұрын
'Recursion made easy' by kunal. Good Intuation, Thought process and superb way of teaching. Good work 🙂
@davidmwangi4312
@davidmwangi4312 3 жыл бұрын
Best recursion series I have watched.Excellent explanation. Thanks Kunal
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
You are most welcome
@arishkhan6300
@arishkhan6300 3 жыл бұрын
Brother you are legend i see the spirit in you to become s Minecraft stremer . You will achive great success as gamer.
@beb57swatimohapatra21
@beb57swatimohapatra21 2 жыл бұрын
Finally!!! I understood these topics... you r a legend kunall
@musicalboy2975
@musicalboy2975 5 ай бұрын
Man you are freaking awesome. I feel confident on recursion and backtracing on watching your series .
@pawanyadav4024
@pawanyadav4024 21 күн бұрын
amazing video, for learning subset and subsequence problems and solution orientation Thanks @KunalKhushwaha for creating such an amazing content
@premraja55
@premraja55 3 жыл бұрын
Legendary way of teaching! Thanks brother
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
My pleasure!
@aakashyadav9117
@aakashyadav9117 Жыл бұрын
you are genius man , i did the subset problem of string "abc" and i used loop inside that , and you simple printed using recursion 🙌
@nikitasrivastava1552
@nikitasrivastava1552 24 күн бұрын
I was facing the issue with the last code. Putting else statement as well (else {start=0}) when the condition for duplicates doesn't hold, fixed it. Brilliant explanation. Thank you
@rakeshsagar9510
@rakeshsagar9510 Жыл бұрын
I find his sub sequence tutorials much informative and communication is superb.
@KM-rh8gd
@KM-rh8gd 5 ай бұрын
Bro i was starting up with my college and wanted to start with DSA glad that i have the right guide and tecaher.
@Helly_Patel
@Helly_Patel 2 жыл бұрын
Thanks for teaching us like no one did till now!! One small request, please make lectures on dynamic programming as well!!
@simranpreetkaur114
@simranpreetkaur114 2 жыл бұрын
In ques 9 we can just check if outer list contains that subset. If it doesn't contain, then only we should add it in outer. This way we'll avoid duplicates: public static List subsetDuplicates(int[] arr) { List outer = new ArrayList(); outer.add(new ArrayList()); for(int num: arr) { int n= outer.size(); for (int i = 0; i < n; i++) { List inner=new ArrayList(outer.get(i)); inner.add(num); if(!outer.contains(inner)) outer.add(inner); } } return outer; }
@akashdeepgupta2085
@akashdeepgupta2085 Жыл бұрын
1:21:31 it will be good if we sort the array first, for the test cases like [1, 2,2,2] or [4, 4,4,1,4]. otherwise it will fail.
@its_shivam_jha
@its_shivam_jha Жыл бұрын
Great job man!
@kcalbduorp3499
@kcalbduorp3499 Жыл бұрын
.contains will take another internal nested loop so it increases the time complexity...
@akashdeepgupta2085
@akashdeepgupta2085 Жыл бұрын
@@kcalbduorp3499 yes
@prasadm3614
@prasadm3614 2 жыл бұрын
Insanely simple explanation of subsets... M awestruck
@omkarg01
@omkarg01 3 жыл бұрын
24:52 - 24:58 If I am not wrong, sliding window has not covered.
@rakeshpotnuru
@rakeshpotnuru 3 жыл бұрын
Don't worry he keeps track of syllabus on github issue, maybe mistakenly said that.
@faizanhaider3953
@faizanhaider3953 2 жыл бұрын
phele to dur se pair chu k parNaam bro 🙏🙏 DhanSuuu lecture Kunal bhai... Nobody teaches like you.. but plz complete krdo bhai playlist... 🙏🙏
@mohamedjasimazizg442
@mohamedjasimazizg442 Жыл бұрын
I have been watching your videos for so long it's been very helpful to grow personally
@varunkumar6223
@varunkumar6223 3 жыл бұрын
for the last question instead of adding the start or end index , if found duplicate just start the inner loop with outerarray size / 2 and it works fine #include using namespace std; vector subsetrec(string main,string pro){ vector s; if(main.empty()){ s.push_back(pro); return s; } char ch = main[0]; vector s1 = subsetrec(main.substr(1),pro); vector s2 = subsetrec(main.substr(1),pro+ch); s.insert(s.end(),s1.begin(),s1.end()); s.insert(s.end(),s2.begin(),s2.end()); return s; } void subsetitr(){ vector v{1,2,3,3}; vector res; res.push_back({ }); for(int i=0;i 0 && v[i] == v[i-1]) j= (n/2); // LOOK HERE for(;j
@gnanaprakashm843
@gnanaprakashm843 Жыл бұрын
Can you explain your thought process behind why it works ?
@laxminarayanakoyyana1753
@laxminarayanakoyyana1753 Жыл бұрын
@@gnanaprakashm843 he is just removing duplicates bro , that's it.
@gnanaprakashm843
@gnanaprakashm843 Жыл бұрын
@@laxminarayanakoyyana1753 I see I'll look into it. thanks 🙏
@HARSHKUMAR-g2d6u
@HARSHKUMAR-g2d6u 8 ай бұрын
Incredible course, the concept which you tell us in the starting of the recursion is enough to solve this problem and the track the answer in the function body is the awesome way to hold the answer more then the in the arguments
@jatinkoli3389
@jatinkoli3389 3 жыл бұрын
just started ur dsa course and fell in love with that
@Nkchauhan-o9y
@Nkchauhan-o9y 7 ай бұрын
I like the way you teach it is amazing that you are giving the tricks which person can apply to various types of questions. It's true even now i feal it is the best course for DSA out there on KZbin thanks for your valuable time and efforts for us. It would be so good if this was a whole course of DSA i would really like to learn whole DSA from you if it is feasible Please provide dynamic programing videos too! people would love it. Thanks for course and your efforts!
@sadmansakibmugdho4134
@sadmansakibmugdho4134 3 жыл бұрын
Hello Kunal. I want to know, After the DSA course, will you show us how to use our skills in open source and all that stuffs till how to approach in a company? If not then please consider this.🙏🙏🙏
@DevanshuAugusty
@DevanshuAugusty 2 жыл бұрын
24:55 when did he teach sliding window?
@bhavyabansal1143
@bhavyabansal1143 2 жыл бұрын
Thank you so much for explaining this beautifully. When can we expected videos for DP, graphs and trees?
@kishanpareek2848
@kishanpareek2848 3 жыл бұрын
Ye Kunal ka course bhot mast hai. Sab samaj aa gya
@ombhandari6148
@ombhandari6148 3 жыл бұрын
Thank you brother Finally I understood how to solve the subsets problem.. Thanks a lot brother. You are doing great
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
More to come
@arpithamjade386
@arpithamjade386 Жыл бұрын
2:20 easy method static String rem1(String str,int start){ if (start>=str.length()) { return ""; } return str.charAt(start)=='a' ? rem1(str, start+1) : str.charAt(start) + rem1(str, ++start); }
@yashkoolwal196
@yashkoolwal196 3 жыл бұрын
One of most awaited vidoe
@prashanthprashanth7570
@prashanthprashanth7570 4 ай бұрын
Broo tnq very much ❤❤❤ you are helping me a lot for learning recursion. since in these topic i am very confused.However i see your videos ❤ it's like a wow.
@panchanansahoo1463
@panchanansahoo1463 2 жыл бұрын
Nice video kunal. For the last question we can add a check before adding the inner list to the outer list, If the outer list already contains the inner list or not
@akashnag6459
@akashnag6459 Жыл бұрын
Easiest explanation of recursion in internet.
@siddhigupta7673
@siddhigupta7673 2 жыл бұрын
pls kunal complete the course no other course can match the level of content u were providing
@29_jayavishnur89
@29_jayavishnur89 5 ай бұрын
Fun fact: In iterating subsequence with duplicate you can set the start as outer.size() /2, thereby u dont need to use end variable itself
@DSrikanthd
@DSrikanthd 2 жыл бұрын
This is just brilliant Brother, Keep doing it. Just waiting for the DP series, Please do it soon.
@BrajBliss
@BrajBliss 2 жыл бұрын
This and the merge sort video are the only one I just can't get in my head.
@alonbrim
@alonbrim 2 жыл бұрын
Great Video! Very well explained! Great job Kunal, thank you very much!
@KunalKushwaha
@KunalKushwaha 2 жыл бұрын
You’re welcome
@Fawzaan
@Fawzaan 4 ай бұрын
The Goat ❤
@sriharshakandurivenkatases2587
@sriharshakandurivenkatases2587 2 жыл бұрын
We are grateful to you for the knowledge you are providing for free🙏🙏 Waiting for your next DSA video #DSAWithKunal❤
@atharvparlikar8765
@atharvparlikar8765 3 жыл бұрын
Waa ye hi time mila tha upload karne ko 😐
@aasisinha6100
@aasisinha6100 2 жыл бұрын
Truely informative and lots of creativity in teaching...became friend without meeting you..
@komalchauhan7535
@komalchauhan7535 6 ай бұрын
Great Video, Please complete this bootcamp asap.😇
@karthick7983
@karthick7983 3 жыл бұрын
10:05 le kunal : ccd le siri : yeah bruhh!! LOL.
@dsrfacts6483
@dsrfacts6483 2 жыл бұрын
Amazing content bro... Keep doing the good work..Lots of luck 🎉
@devesh819
@devesh819 3 жыл бұрын
A new episode of recussion session 😂😂
@Tomharry910
@Tomharry910 Жыл бұрын
Another great video. Thanks for the good work Kunal. Wish you the very best!
@subhankarkanrar9494
@subhankarkanrar9494 11 ай бұрын
Just Enjoying every moment ❤. Love it😊
@anuragbudakoti755
@anuragbudakoti755 2 жыл бұрын
Dhanyawad apka iss DSA course ke liye
@vaibhavghatge8553
@vaibhavghatge8553 Жыл бұрын
Really awesome way of teaching finally, thinking in the recursive way, |2^n sub set
@PrasunKundu
@PrasunKundu 3 жыл бұрын
Wait kar rha tha iske liye....
@nishu0766
@nishu0766 5 ай бұрын
please upload all the remaining topics of this DSA playlist as soon as possible
@plutomessi21
@plutomessi21 Жыл бұрын
In this example, the recursiveSubstring method prints the current substring and then makes a recursive call with s.substring(1). Each recursive call creates a new substring starting from the second character of the previous substring. Output: vbnet Copy code Substring: abcdef Substring: bcdef Substring: cdef Substring: def Substring: ef Substring: f Empty String
@andretheruler714
@andretheruler714 2 жыл бұрын
recursion is still hard but you explained it well
@abdulrauf7815
@abdulrauf7815 Жыл бұрын
The definition and recursion tree for subsets was very very great❤❤
@apurwarokade3863
@apurwarokade3863 Жыл бұрын
You are a genius kunal 😊
@samworld7923
@samworld7923 3 жыл бұрын
I thought to take half of outer list size as start index, but sooner realize what if multiple duplicate elements are coming, it will fail to survive that condition
@mohammedadnan2449
@mohammedadnan2449 2 жыл бұрын
Q9 : Subsequences of a string with duplicate elements Can be solved in easier way with the code snippet mentioned below:- ------------------------------------------------------ List outerList = new ArrayList();//outerList outerList.add(new ArrayList()); for (int num : arr) { int size = outerList.size(); for (int i = 0; i < size; i++) { List internalList = new ArrayList(outerList.get(i)); internalList.add(num); if (!outerList.contains(internalList)) { outerList.add(internalList); } } } return outerList; ---------------------------------------------------------
@Mlakshman-w9k
@Mlakshman-w9k Жыл бұрын
contains method takes O(n) of time then it leads to O(n^3) for overall time complexity
@Mlakshman-w9k
@Mlakshman-w9k Жыл бұрын
static List subSetDuplicates(int[] nums) { Arrays.sort(nums); List outerList = new ArrayList(); outerList.add(new ArrayList()); for (int i = 0 ;i < nums.length ; i++) { int start = 0; int end = outerList.size(); if( i > 0 && nums[i] == nums[i - 1]){ start = start + (end - start ) / 2; } for (int j = start; j < end; j++) { ArrayList intenalList = new ArrayList(outerList.get(j)); intenalList.add(nums[i]); outerList.add(intenalList); } } return outerList; }
@nagasatya5969
@nagasatya5969 Жыл бұрын
Kunal, please try completing the series. It'd be of great help. cuz of all the videos I've watched on recursion, all of them were very specific to the prlms they taught and none of them explained how recursion actually works. I don't think they'd do any better with topics like dp. So, if you can, complete the series
@rishabhrawat8197
@rishabhrawat8197 2 жыл бұрын
touched my heart as always
@beyourself637
@beyourself637 7 ай бұрын
00:03 String Questions and Subsequences 03:35 Recursion subset and subsequence concepts 10:19 Explanation of function call and process in string operations. 13:46 Recursion and string processing explained 21:02 Understanding recursion and string questions 24:31 Subset, subsequence, and string questions are important for interview preparation. 31:26 Understanding recursion and subset/sequence problems. 34:43 Recursion and string questions in a KZbin video 40:49 Discussion on various functions and activities using code 44:06 Recursion and string questions are challenging. 51:15 The video discusses creating subsequence and string questions. 54:30 Sequencing, string manipulation, and recursion in programming 1:01:07 Explaining recursion and its use in solving problems 1:04:05 Creating a new list based on the original list size. 1:10:16 Understanding subsets and complexities 1:13:16 Preventing duplicate elements in newly created subjects
@harshjaiswal1634
@harshjaiswal1634 3 жыл бұрын
Recursion session... Just like therapy session
@jatinkoli3389
@jatinkoli3389 3 жыл бұрын
Bhaiya i am getting admsion into DTU CS can u please make a video 1st year roadmap I was waiting to get into college to start programming with ur course Loving ur confidence and content
@devjoshi7062
@devjoshi7062 3 жыл бұрын
kzbin.info/aero/PLPX75d4curILdTmhcM5iJ6ReNx-LKW12P here, these are old videos of kunal when he used to work with a ed-tech, he has made a complete 4 year roadmap for B.Tech students
@gauravdham9982
@gauravdham9982 Жыл бұрын
Great work bro !! Keep it up and keep making such videos for others to learn!!
@Nameiscantsay
@Nameiscantsay 7 ай бұрын
In the last question we can simply do that question as the previous question but after that just check whether each element is present in the list if it is there just remove duplicates from the list which takes O(N) time complexity. But brother you are sorting the array which takes O(NLog N) which is not effecient as compared to removing the duplicates after doing this question as the previous question.
@muzi9786
@muzi9786 2 жыл бұрын
You are the best !!! please make some video about DP thanks ahead!!!
@adityapalve3752
@adityapalve3752 3 жыл бұрын
very good video, i used to detest recursion kinda like it more than iteration now
@dakubhai6014
@dakubhai6014 3 жыл бұрын
U r diamond dude...May lord protect u from Aliens for the boon of mankind.
@aakashgoswami2356
@aakashgoswami2356 3 жыл бұрын
Other : How to solve a problem. Le kunal : How to approach a problem.
@KunalKushwaha
@KunalKushwaha 3 жыл бұрын
That was the plan
@sameerakhatoon9508
@sameerakhatoon9508 2 жыл бұрын
for qn 9, please find my recursive solution below approach: if we ignore the occuring of duplicates char means we ignore each of that duplicate char public class Recursion{ public static void main(String[] args) { System.out.println(subSetsWithDupInString("122", "")); } static ArrayList subSetsWithDupInString(String str, String ans){ if(str.isEmpty()){ ArrayList ls = new ArrayList(); ls.add(ans); return ls; } char ch = str.charAt(0); ArrayList left = new ArrayList(); ArrayList right = new ArrayList(); int i = 1; while(i
@alpersener4269
@alpersener4269 Жыл бұрын
bro you're awesome thanks for the concepts you have taught us.👑👑👑
@SAIFALI-rn5cs
@SAIFALI-rn5cs Жыл бұрын
Bro, why I am getting error at p:p+ch, saying as Syntax error on token " : ", invalid AssignmentOperator.
@sourabhsahu961
@sourabhsahu961 3 жыл бұрын
Bhaiii you are legend, when you are coming with OOP java tutorials
@ShubhamKumar-vu4ql
@ShubhamKumar-vu4ql 2 жыл бұрын
44:21 can anyone explain the passing in the argument solution. i.e. how will u return two recursive calls simultansly, any help appreciated!
@projectsdb4034
@projectsdb4034 2 жыл бұрын
Thanks for the great tutorial please continue the series
@ragulp5489
@ragulp5489 2 жыл бұрын
Thanks bro all the concepts u deliver is so clear sir. pls make some vdos on windows sliding, two pointer approach too sir.
@SravanthiPotuluri-k5c
@SravanthiPotuluri-k5c Жыл бұрын
Please make a video on subarray concepts
@santoshis2568
@santoshis2568 Жыл бұрын
hi Kunal can you please do sliding window problems?
@dmitriiserikov1528
@dmitriiserikov1528 2 жыл бұрын
@Kunal Kushwaha , the solution in Q9 changes the order of the original array. Wouldn't the result be considered as a list of subsets and not a list of subsequences?
@Mlakshman-w9k
@Mlakshman-w9k Жыл бұрын
1:11:50 space complexity is O(2^n*n)
@DevanshuAugusty
@DevanshuAugusty 2 жыл бұрын
Q8 C++ Solution : vector subsetIterate(vector vec){ vector ans = {{}}; for(auto i : vec) { int n = ans.size(); for(int j=0;j
Recursion - Permutations (Theory + Code + Tips)
25:22
Kunal Kushwaha
Рет қаралды 174 М.
Quick Sort Using Recursion (Theory + Complexity + Code)
42:14
Kunal Kushwaha
Рет қаралды 199 М.
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
Strings and StringBuilder in Java
1:27:29
Kunal Kushwaha
Рет қаралды 539 М.
L6. Recursion on Subsequences | Printing Subsequences
25:01
take U forward
Рет қаралды 683 М.
Backtracking Introduction + Maze Problems - Theory + Code + Tips
1:28:10
Kunal Kushwaha
Рет қаралды 223 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
N-Queens, N-Knights, Sudoku Solver (LeetCode) - Backtracking Questions
1:19:26
Merge Sort Using Recursion (Theory + Complexity + Code)
49:47
Kunal Kushwaha
Рет қаралды 261 М.
5 Simple Steps for Solving Any Recursive Problem
21:03
Reducible
Рет қаралды 1,3 МЛН
She wanted to set me up #shorts by Tsuriki Show
0:56
Tsuriki Show
Рет қаралды 8 МЛН