Sum of All Subset XOR Totals | Simple Story To Code | Leetcode 1863 | codestorywithMIK

  Рет қаралды 6,239

codestorywithMIK

codestorywithMIK

Күн бұрын

Пікірлер: 69
@satendra6200
@satendra6200 7 ай бұрын
please make the video on the intuition behind the 3rd appraoch..
@deepaksingh-qd7xm
@deepaksingh-qd7xm 7 ай бұрын
yes
@theprnvanand
@theprnvanand 7 ай бұрын
exactly bhai kya chu&iyap hai.. intuition dekhne aaya tha behind shifting by n-1. Aur pattern ke name pe skip krdiya
@deepaksingh-qd7xm
@deepaksingh-qd7xm 7 ай бұрын
@@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
@codestorywithMIK
@codestorywithMIK 7 ай бұрын
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 ❤️
@akshaychavan5511
@akshaychavan5511 7 ай бұрын
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.
@AbhijeetMuneshwar
@AbhijeetMuneshwar 7 ай бұрын
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. 🙏🏼
@Shivam_7488
@Shivam_7488 7 ай бұрын
3rd approch man 👍fabulous.just looking like Wow...
@KUMARBISHWAJEET-iq6ym
@KUMARBISHWAJEET-iq6ym 7 ай бұрын
yes need the video on the intuition behind the 3rd appraoch..
@best_0111
@best_0111 7 ай бұрын
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 💥❤‍🔥❤‍🔥❤‍🔥❤‍🔥❤‍🔥💥💥💥
@VaibhavSingh_code
@VaibhavSingh_code 7 ай бұрын
Please make detailed video on 3rd approach
@elakstein
@elakstein 7 ай бұрын
Would love an explanation on proof of 3rd approach, if you have time then please consider
@Akashkumar_12
@Akashkumar_12 7 ай бұрын
3rd approach is awesome 😅❤
@BiswajitRout-dl5ry
@BiswajitRout-dl5ry 7 ай бұрын
Bhiya, please post a video of the last approach on the reason of following pattern the last one approach is very awesome.
@rahulharsh545
@rahulharsh545 7 ай бұрын
this guy will make me fall in love with dsa
@spdh6325
@spdh6325 7 ай бұрын
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!
@Inspire_with_SM
@Inspire_with_SM 7 ай бұрын
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
@user13443fg
@user13443fg 7 ай бұрын
how 3rd approach works please make a video on that.
@aizad786iqbal
@aizad786iqbal 7 ай бұрын
how is this marked easy :) so much to learn.... should I start with recursion and dp first ?
@pokeindia5361
@pokeindia5361 7 ай бұрын
Sir please the video on the intuition behind the 3rd approach.
@tutuimam3381
@tutuimam3381 7 ай бұрын
Amazing explanation
@ManojKrVerma-vw4dx
@ManojKrVerma-vw4dx 7 ай бұрын
Yes, please make a video on 3rd approach.
@shaktlonda12
@shaktlonda12 7 ай бұрын
Yes , please make a video on how to get this intuition
@pradyumnmulegaon385
@pradyumnmulegaon385 7 ай бұрын
approach 3 was really nice one🔥🔥
@focusman8801
@focusman8801 7 ай бұрын
Bhaiya pls make video why pattern work in the 3rd approach
@codingkart245
@codingkart245 7 ай бұрын
please make the video on the intuition behind the last approach please.
@wearevacationuncoverers
@wearevacationuncoverers 7 ай бұрын
Day-1 of asking "How do you manage teaching DSA, Office Hours, Doing sports as well as travel and handling social media" 😅
@abhi-i6o2o
@abhi-i6o2o 7 ай бұрын
Bro please make a video on tarjan's algorithm, Leetcode 1192. Great content brother, lots of respect
@nirmalgurjar8181
@nirmalgurjar8181 7 ай бұрын
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.
@dayashankarlakhotia4943
@dayashankarlakhotia4943 7 ай бұрын
Good explanation 👏 👍
@aizad786iqbal
@aizad786iqbal 7 ай бұрын
please explain the 3rd approach, any proof apart from obsering patterns.... what's the logic behind it, why it works
@prithammahato1915
@prithammahato1915 7 ай бұрын
Thank You Bhiya :)
@gauravbanerjee2898
@gauravbanerjee2898 7 ай бұрын
Thanks a lot bhaiya ❤❤
@Strawcontamination
@Strawcontamination 7 ай бұрын
bhaiya please give us 3-4 home work questions it would be really helpful
@_rugung
@_rugung 7 ай бұрын
3rd approach ke upar video bana dijiye 🙏
@SatyamYadav-oz5ge
@SatyamYadav-oz5ge 7 ай бұрын
sir plz make a video on detailed explanation of approach 3 🙏
@Akmabedinkadersafi-O
@Akmabedinkadersafi-O 7 ай бұрын
Please Explain why the third approach worked!
@notjod4948
@notjod4948 7 ай бұрын
finding the last approach is not at all intutive unless you understand that much maths in the interview!
@Coder_Buzz07
@Coder_Buzz07 7 ай бұрын
Bhaiya last wale approach ke lie video banado plsssss
@mayank1522
@mayank1522 7 ай бұрын
sir at 5.07 apne by reference num kyu lia usko koi reason h ? and can we use onli auto there
@gui-codes
@gui-codes 7 ай бұрын
I was able to solve using approach-1 on my own 🤩 Thank you
@nish0798
@nish0798 7 ай бұрын
bro what are you plaanning to finish first dp concept or start backtracking concepts
@vinayaksinghal
@vinayaksinghal 7 ай бұрын
bhaiya video bana dena approach intuition pe
@027_CSE_AbhishekSingh
@027_CSE_AbhishekSingh 7 ай бұрын
Thank u so much ❤
@kumkumslab5811
@kumkumslab5811 7 ай бұрын
damn good mann!!
@pankajkashyap2892
@pankajkashyap2892 7 ай бұрын
what is intution behind third approach that it works,please explain how it works.
@yogesh9974
@yogesh9974 7 ай бұрын
Please Intuiton behind 3rd approach
@vagabondfoodie5788
@vagabondfoodie5788 7 ай бұрын
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
@YashDabhade-cr5my
@YashDabhade-cr5my 7 ай бұрын
int xorr=0; for(int i=0;i
@vagabondfoodie5788
@vagabondfoodie5788 7 ай бұрын
@@YashDabhade-cr5my thanks🙏🙏🙏🙏
@codestorywithMIK
@codestorywithMIK 7 ай бұрын
No Qn is funny 😇❤️ Don’t worry, you can ask any kind of qn. We all are learning ❤️
@vagabondfoodie5788
@vagabondfoodie5788 7 ай бұрын
@@codestorywithMIK yes sir 😇😇😇
@robot3.077
@robot3.077 7 ай бұрын
power set algorithm
@SEVERANCE850
@SEVERANCE850 7 ай бұрын
But can you please explain why the third approach works?
@ShyamSundar-kz5oz
@ShyamSundar-kz5oz 7 ай бұрын
Sir dp series please
@souravjoshi2293
@souravjoshi2293 7 ай бұрын
We can also find the subsets using bit manipulation technique
@aizad786iqbal
@aizad786iqbal 7 ай бұрын
result
@Dezy_Kri
@Dezy_Kri 7 ай бұрын
Done ✔️
@utkarshsahay9908
@utkarshsahay9908 7 ай бұрын
3rd Approach Kaise Socha Sir ????
@sauravchandra10
@sauravchandra10 7 ай бұрын
This can also be done using bit manipulation.
@jevinmakwana6811
@jevinmakwana6811 7 ай бұрын
Can anyone explain the intuition behind the 3rd approach?
@davidmiller814
@davidmiller814 7 ай бұрын
Third approach, albeit simple, is hard to come up with in an interview setting I think.
@69_memes
@69_memes 7 ай бұрын
approach 3rd is OR not XOR ?
@chirag7694
@chirag7694 7 ай бұрын
Why does the third approach work, Can anybody please share a link or a video for the proof of that
@DevOpskagyaan
@DevOpskagyaan 7 ай бұрын
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.
@027_CSE_AbhishekSingh
@027_CSE_AbhishekSingh 7 ай бұрын
Bhaiya ❤
@ratishjain2718
@ratishjain2718 7 ай бұрын
man wtf was that last inuition 🤯
@anjaliray1029
@anjaliray1029 4 ай бұрын
I think in the 3rd approach OR calculation is not correct
@vikassingh8598
@vikassingh8598 7 ай бұрын
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
Longest Palindrome | 3 Easy Approaches | Leetcode 409 | codestorywithMIK
19:16
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Japan | A Nice Algebra Math Simplification | Math Olympiad
7:17
You will never have to ❤️
0:12
codestorywithMIK
Рет қаралды 4,3 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН