U ARE THE BEST EXPLAINER OF THE LEETCODE. Just keep it up bro🔥
@nikoo28
2 ай бұрын
trying my best
@rajeshpaithari7320
5 ай бұрын
After watching Subsets and permutations, I was able to solve it on my own! Thanks
@nikoo28
4 ай бұрын
Excellent!
@manjunaik7792
5 ай бұрын
my respect towards your explanation sir
@sharaabsingh
7 ай бұрын
Hey @nikoo28, I am a regular viewer of your videos and honestly they are very helpful in understanding the concepts clearly. I have just a small suggestion for this explanation. Although, this approach works, but it is not optimal. Also, for someone like me who uses javascript, the includes method in js (equivalent to contains in java) will return false. Another approach can be to check inside the loop if(i > start && nums[i - 1] === nums[i]) continue; Not running the loop when this condition is there and this shall also give the same result. Nonetheless, please keep making these videos. You have no idea how much it makes our lives easier. Thank you for all the effort you put in. Cheers!
@AyushMishra-kq8sm
11 ай бұрын
There is no need to use set. If you have already sorted the nums array simply add condition in for loop i.e if(i>idx && nums[i]==nums[i-1]) continue; duplicates will be already removed
@pratikdey4239
7 ай бұрын
Where is he using the set?
@jackfrost8969
3 ай бұрын
@@pratikdey4239 to check for the duplicates
@satyamgupta6030
Жыл бұрын
thanks alot bhaiya I always look for ur videos even when I solve the problem my self as everytime I learn something from ur videos.
@subee128
8 ай бұрын
Thank you
@BABATECHNOPEDIA
6 ай бұрын
If you are putting result lists in set and checking if it contains the list than why you have sorted first no need to sort!!!
@nikoo28
5 ай бұрын
we want to remove all duplicates, hence sorting helps
@learnwithsadek7564
2 жыл бұрын
Brother, give me an order. Which playlist of your channel should I watch first and then what? Can you make some math videos? I am not very good at math but not that weak as well. Will you make it easy by teaching what exactly we need?
@nikoo28
2 жыл бұрын
The best way to start would be starting the Algorithmic Paradigms list Then move on to Data Structures. Start solving and look problems on LeetCode easy problems
@nikoo28
2 жыл бұрын
That will give you some direction on getting started. Reach out to me if you have more doubts.
@vinamrasangal8436
7 ай бұрын
very bad explaination
@nikoo28
7 ай бұрын
which part did you struggle with?
@sonishukla356
4 ай бұрын
@@nikoo28it was way better than others it helped me a lot .....just a question is it a full solution for back track approach and language u used it is Java??
Пікірлер: 21