@@theprnvanand to isme gali dene wala logic to kuch nahi hua atleast usne bataya to it's your duty to find it sab kuch hath p nahi milta h bro thoda hath pair chalao google is all yours
Hi guys, Apologies for any inconvenience. Like I mentioned in the video that I will create a separate video for that in my free times. It’s difficult to make detailed video early morning because of my office and other morning activities. Hope you guys will understand ❤️🙏 But if I get some free time, I will create a detailed video on why it works. Thank you again for your patience ❤️
Respected MIK Sir, Whenever I watch your videos, I understand how easily & efficiently one can solve difficult questions. Thank you so much for sharing this knowledge for free. 🙏🏼
Did this question using recursion. However, came here to see new approaches and I am quite amazed seeing the 3rd approach. Indeed a tough intuition to come up with.
sir i would like to provide one suggestion 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏 plz add 3 to 4 similar types question it helps alot like we learn from you solve the question and excel ourself with your help so plz do this one i am following you since a month and i am loving you content too much like i am addicted to your content i come i learn i solve and repeat this process 💥❤🔥❤🔥❤🔥❤🔥❤🔥💥💥💥
Great Bhaiya, Bhaiya aaj ka question easy marked hai but aise hi question mey mey fass jata hu like mey subset create karke to kiya but Approach -3 wala mujhse nahi hit hua mind mey to ye kaise develop kare, aur phir aise hi problem se moral down ho jata hai ki solve to kiye but best approach nahi tha, and phir self doubt bhi hone galta hai
Good solution but would have been better if logic behind 3rd approach was also covered in the video, we can watch 1 hr long videos of such amazing content.
sir, it might sound funny, but please its a request help me to understand how can i , iterate vector subset to find all the xor , basically i am asking about approach number one
please make the video on the intuition behind the 3rd appraoch..
yes
exactly bhai kya chu&iyap hai.. intuition dekhne aaya tha behind shifting by n-1. Aur pattern ke name pe skip krdiya
@@theprnvanand to isme gali dene wala logic to kuch nahi hua atleast usne bataya to it's your duty to find it sab kuch hath p nahi milta h bro thoda hath pair chalao google is all yours
Hi guys,
Apologies for any inconvenience. Like I mentioned in the video that I will create a separate video for that in my free times. It’s difficult to make detailed video early morning because of my office and other morning activities.
Hope you guys will understand ❤️🙏
But if I get some free time, I will create a detailed video on why it works.
Thank you again for your patience ❤️
Respected MIK Sir,
Whenever I watch your videos, I understand how easily & efficiently one can solve difficult questions.
Thank you so much for sharing this knowledge for free. 🙏🏼
Did this question using recursion. However, came here to see new approaches and I am quite amazed seeing the 3rd approach. Indeed a tough intuition to come up with.
3rd approach is awesome 😅❤
3rd approch man 👍fabulous.just looking like Wow...
yes need the video on the intuition behind the 3rd appraoch..
sir i would like to provide one suggestion 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
plz add 3 to 4 similar types question it helps alot like we learn from you solve the question and excel ourself with your help so plz do this one i am following you since a month and i am loving you content too much like i am addicted to your content i come i learn i solve and repeat this process
💥❤🔥❤🔥❤🔥❤🔥❤🔥💥💥💥
Would love an explanation on proof of 3rd approach, if you have time then please consider
Please make detailed video on 3rd approach
how is this marked easy :)
so much to learn....
should I start with recursion and dp first ?
this guy will make me fall in love with dsa
how 3rd approach works please make a video on that.
Bhiya, please post a video of the last approach on the reason of following pattern the last one approach is very awesome.
Mik Bhai, ye kar diya approach -3 pura hila diya. Approach - 3 actually blow my mind. But ek kuch explanation do how to build this type of Intuition!
Yes, please make a video on 3rd approach.
Amazing explanation
Sir please the video on the intuition behind the 3rd approach.
approach 3 was really nice one🔥🔥
Great Bhaiya, Bhaiya aaj ka question easy marked hai but aise hi question mey mey fass jata hu like mey subset create karke to kiya but Approach -3 wala mujhse nahi hit hua mind mey to ye kaise develop kare, aur phir aise hi problem se moral down ho jata hai ki solve to kiye but best approach nahi tha, and phir self doubt bhi hone galta hai
Yes , please make a video on how to get this intuition
Bhaiya pls make video why pattern work in the 3rd approach
please explain the 3rd approach, any proof apart from obsering patterns.... what's the logic behind it, why it works
I was able to solve using approach-1 on my own 🤩
Thank you
Day-1 of asking "How do you manage teaching DSA, Office Hours, Doing sports as well as travel and handling social media" 😅
finding the last approach is not at all intutive unless you understand that much maths in the interview!
Thanks a lot bhaiya ❤❤
please make the video on the intuition behind the last approach please.
Bro please make a video on tarjan's algorithm, Leetcode 1192. Great content brother, lots of respect
bro what are you plaanning to finish first dp concept or start backtracking concepts
Good solution but would have been better if logic behind 3rd approach was also covered in the video, we can watch 1 hr long videos of such amazing content.
Thank You Bhiya :)
Good explanation 👏 👍
what is intution behind third approach that it works,please explain how it works.
sir plz make a video on detailed explanation of approach 3 🙏
3rd approach ke upar video bana dijiye 🙏
bhaiya please give us 3-4 home work questions it would be really helpful
sir at 5.07 apne by reference num kyu lia usko koi reason h ? and can we use onli auto there
Please Explain why the third approach worked!
Done ✔️
damn good mann!!
Please Intuiton behind 3rd approach
Bhaiya last wale approach ke lie video banado plsssss
But can you please explain why the third approach works?
Can anyone explain the intuition behind the 3rd approach?
bhaiya video bana dena approach intuition pe
sir, it might sound funny, but please its a request help me to understand how can i , iterate vector subset to find all the xor , basically i am asking about approach number one
int xorr=0;
for(int i=0;i
@@YashDabhade-cr5my thanks🙏🙏🙏🙏
No Qn is funny 😇❤️
Don’t worry, you can ask any kind of qn. We all are learning ❤️
@@codestorywithMIK yes sir 😇😇😇
power set algorithm
Thank u so much ❤
We can also find the subsets using bit manipulation technique
Why does the third approach work, Can anybody please share a link or a video for the proof of that
It’s available on official solution but I could not understand. I also saw vortubrac’s leetcode solution in Discuss, but he has not explained it.
Bhaiya ❤
approach 3rd is OR not XOR
?
This can also be done using bit manipulation.
3rd Approach Kaise Socha Sir ????
result
Sir dp series please
Third approach, albeit simple, is hard to come up with in an interview setting I think.
man wtf was that last inuition 🤯
int solve(vector& nums, int i){
if(i>=nums.size()){
return 0;
}
int include=nums[i]^solve(nums, i+1);
int exclude=0^solve(nums, i+1);
return include+exclude;
}
int subsetXORSum(vector& nums) {
return solve(nums, 0);
}
why this is incorrect
I think in the 3rd approach OR calculation is not correct