keep uploading lectures, i m following this series very consistently
@bigbrain7933Ай бұрын
bhai question thaa tune pairsum or majority element khud se soch liya tha
@sheevanulhaq3912Ай бұрын
@@bigbrain7933 brute force approach to khud se soch liya tha but optimization abhi nhi ho rha Aa jayega with time ✌️
@PrithaMajumder12 күн бұрын
Watched "Majority Element | Brute- Better-Best Approach | Moore's Voting Algorithm | & Pair Sum" on 16/11/2024. ✅ Completely understood the concepts explained. 📝 Made thorough notes while watching. Thank You So Much for This Amazing Lecture 😊
@StudywithmeAkku2 ай бұрын
DSA series Day-11 completed I hope I will maintain this consistency with shraddha maam .Thankyou so much mam for this series and also thanks to Aman sir who behinde all of that❤🎉
@jeffrinsamuel53582 ай бұрын
Are you in 1st year?
@StudywithmeAkku2 ай бұрын
@@jeffrinsamuel5358 yes
@jeffrinsamuel53582 ай бұрын
@@StudywithmeAkku Nicee..Same here
@bigbrain7933Ай бұрын
bhai question thaa tune pair sum or majority element khud se soch liya tha
@Shubham_Karne2 ай бұрын
Thanks a lot shraddha didi I am learning a lot from you considering web development or DSA you are the one who clears every concept in DSA I am being confident in DSA just bcuz of you didi I can't thank you enough for these precious stuffs❤😊
@vishnuvardhan26872 ай бұрын
Successfully completed ✅ Day 11 lecture, thank you shradha maam for your valuable lectures to us 😊😊
@surajdevv2 ай бұрын
Keep going
@shah43042 ай бұрын
Shardha Ma'am Brute force code ko bhi write kr deti hai , jo bhut achi cheej hai . Great
@komalkaushal26952 ай бұрын
Completed and enjoying everyday with your lectures🎉
@bigbrain7933Ай бұрын
bhai pari sum or majority element ka logic mam ke padane se pahle he aagya tha kya
@bigbrain7933Ай бұрын
plese reply
@devilsushgaming81512 күн бұрын
@@bigbrain7933 yess broo
@mohammadparves8709Ай бұрын
The most thing I like about this series is that solving problems of leetcode
@namangupta72712 ай бұрын
thank you very much mam you are the best teacher who teach dsa on youtube
@bhavneet84162 ай бұрын
Next Level and thinking appriciate mam >>> Respect
@azharalibhutto12092 ай бұрын
Thank you so so much for teaching DSA ❤❤❤❤❤❤
@haiderali08012 ай бұрын
Thankyou shradha dii!
@CodeSurgery-j8jАй бұрын
Congratulations on your well-deserved 6M subscribers.🙂🙂🙃
@Intelli_Jayant2 ай бұрын
Please keep uploading, We will keep learning
@Ironman-z2tАй бұрын
Lecture 11 is completed. Thanks ❤mam.
@bigbrain7933Ай бұрын
bhai pari sum or majority element ka logic mam ke padane se pahle he aagya tha kya
@AamilAli2003Ай бұрын
23:51 array sort karne ke baad mid pe chale jao aur first aur last se compare karlo agar same hai to return kardo nhi to mid return karado if elseif aur else laga ke ho jayga
@ninadkulkarni3530Ай бұрын
bhai agar sort kardiya to floor n/2 +1th element hi ans hoga na?
@adityasingh33652 ай бұрын
Completed Lecture 11; Thankyou Mam;
@CreativeDevLab23 күн бұрын
it blew my mind 🤯🤯
@AniketKumar-tu5cd2 ай бұрын
class Solution { public: int majorityElement(vector& nums) { sort(nums.begin(),nums.end()); return nums[nums.size()/2]; } };
@bigbrain7933Ай бұрын
hey bro i want to talk with you
@Abhi_Singh-_-42 ай бұрын
Lecture done. 22-09-24. Thank you maam the different questions really help building logic.
@killerronak00752 ай бұрын
thankyou so much for this great free resource❤❤❤❤
@anushrisamrut-62632 ай бұрын
Successfully completed day 11✅
@shubhampandey17542 ай бұрын
DSA series Day 11 completed successfully
@syedshuaib87462 ай бұрын
The condition is that the number will be present >n/2. if we sort by default the middle element will be majority element then this much will be enough int n=nums.size( ); sort(nums . begin ( ) , nums . end ( ) ); return nums[n/2] ;
@Kardam-Codes2 ай бұрын
But the sort() function itself makes the time complexity nlog(n)
@animeshdubey9412 ай бұрын
@@Kardam-Codesyep
@RithushaKeerthiАй бұрын
this works for the odd number of elements in the array not for even count ,right?
@SanyamJain-m4cАй бұрын
bro i tapplied it same going to comment but then see yours
@diwanshukumar9866Ай бұрын
@@RithushaKeerthi yes, it's for odd number of elems bcoz it's easy level question
@alwaysanujsharma2 ай бұрын
38:58 Day 11 completed 👌💯
@PrinceUmmer2 ай бұрын
Love from Jammu and Kashmir ❤❤❤❤❤❤❤❤❤
@50_arshidahmad912 ай бұрын
❤
@proCoderShivam2 ай бұрын
Lec 11 Completed ☑
@Rajakumar29sep2 ай бұрын
Thankyou✨Done✨Completed✨
@aniketvishwakarma7392 ай бұрын
Lecture 11 complete👌💯
@prashanthreddy99352 ай бұрын
Lecture 11 Completed On 17-09-24 at 9:07PM thankYou Mam❤🎉
@bloodyfiregaming97902 ай бұрын
Lecture done successfully 😁
@animeshdubey9412 ай бұрын
Excellent teaching 👏
@YoursEditzz2 ай бұрын
Don’t stop posting for this series
@RASHIVishwakarma-p5gАй бұрын
lecture no 11 completed thankyou mam
@earthlinkdesignersedtech35312 ай бұрын
Day-11 Completed 👍💪
@bhavenprajapat8512 ай бұрын
Waiting for that 😊notifications ❤
@IRONMAN-kq6dx2 ай бұрын
Day 11 complete 21 September 2024 ❤ thankyou Sharadha Mam 😊...
@CodewithAnuragBassu2 ай бұрын
awasome series❤❤
@shreyaG4382 ай бұрын
can we known until when u will complete this playlist
@Shaswat_Shrivas2 ай бұрын
Day 11 Completed!
@AiTrailerVault2 ай бұрын
Day 9 of asking related notes 😮
@MoNiL_DeVLuK11112 ай бұрын
L-11 DONE 🚀
@sakethsai55572 ай бұрын
Q)Find the pairsum from array = [3,4,7,8] with target =11? ans: pairsum = (7,4) reason (shraddha=7 & aman= 4)😁
@jeffrinsamuel53582 ай бұрын
Nice observation 😃👍🏻
@animeshdubey9412 ай бұрын
🎉😂
@ammarshaikh4054Ай бұрын
itna dimag agar padhai me lagaya hota toh aaj ias hota
@jeffrinsamuel5358Ай бұрын
@@ammarshaikh4054 Arey woh padhai hi toh kar rha hai
@yuvrajnegi10232 ай бұрын
In majority element problem.After sorting we return n/2 element of array because a majority element occurs more than n/2 time. But it's not optimize it take O(nlogn) time complexity❤
@anandmaurya63842 ай бұрын
for sorted array we can use : return arr[n/2];
@KalariyaDhruvi2 ай бұрын
Thank you so much mam u are great 🎉 I also learn c language from u 😊
@AjayKumar-uf6zq2 ай бұрын
Hi
@chill_guy92402 ай бұрын
23\09\2024 i am this much consistent about something for the first time in my life I have watched 7 videos in 8 day(one day i was sick)
@Ayush-rx9pkАй бұрын
3 semester watched this session on 9 october finished eleventh lecture
@lamborzgamer263815 күн бұрын
Thank you so much mam🔥🔥🔥🔥
@sheScriptsАй бұрын
Q. PAIR SUM - What if multiple pairs are available?? Let's say we have an array [2, 5, 7, 8, 10, 11, 15] and target is 13, pair could be 2,11 and 5,8 Solution (in JavaScript): let arr = [2, 5, 7, 8, 10,11,15] let target = 13; let i = 0; let j = arr.length - 1; while (i < j) { let pairSum = arr[i] + arr[j]; if (pairSum < target) { i++; } else if (pairSum > target) { j--; } else { console.log(arr[i], arr[j]); i++; j--; } }
@anmolprashar65932 ай бұрын
Thank you so much
@sam-s2t4r2 ай бұрын
Completed 😊
@ssquadisid18582 ай бұрын
Completed on 22:09;24:: 21:43
@Shubham201482 ай бұрын
Thanks for video 😊
@mansishirode9907Ай бұрын
Completed ❤the lec
@bigbrain7933Ай бұрын
bhai pari sum or majority element ka logic mam ke padane se pahle he aagya tha kya
@mazedul14482 ай бұрын
Thank you ma'am
@rcreations96172 ай бұрын
Day 11 completed
@PriyaPandey-ge4wv2 ай бұрын
successfully completed~!!
@SagarMaheshwariS2 ай бұрын
Day 11 completed ✅
@jhonmax45402 ай бұрын
Lecture-10✅(done)
@zee.techie2 ай бұрын
Big fan from Pakistan ❤❤
@SharoonGill-q7v2 ай бұрын
Thank u for this ❤
@itz_akash_Gupta2 ай бұрын
DAY -11 COMPLETED
@mohdyasir54212 ай бұрын
Thanks a lot 👍
@Damdim527Ай бұрын
class Solution { public: int majorityElement(vector& nums) { unordered_mapmp; int h=nums.size(); for(int i=0;ih/2){ return i.first; } } return -1; } };
@ayushjha15952 ай бұрын
Lec 11 completed
@PriyanshuMishra-ze6ol2 ай бұрын
Thank you mam ❤
@ShreyaPriyadarshiniАй бұрын
Day 9 of DSA journey , completed this lecture on 21.10.2024 at 12:07 am
@likitha20052 ай бұрын
Day-11 Done ✅
@moinansari37292 ай бұрын
Sep 16, 2024, Lec 11 Completed
@muhammadarhamshahbaz48052 ай бұрын
Completed 💯
@Ankit2u-IITАй бұрын
Completed on 14/10/24. I hope there will be practice problems in the future videos.
@PRASHANTSHRINGI2 ай бұрын
All lectures completed
@prashantyevate2 ай бұрын
Completed lecture
@Saddam-gg7gj2 ай бұрын
Plzz upload videos daily
@KunalVats-v3f2 ай бұрын
The best series
@bigbrain7933Ай бұрын
bhai question thaa tune pairsum or majority element khud se soch liya tha
@anishalam96482 ай бұрын
done dona done london mam bhot bahot shukriya apka mam
@diyadodiya6026Ай бұрын
thank you didi
@DIBYENDU_MALLICK2 ай бұрын
Lecture 11 complete ✅ 27/09/24
@Y2k_Y2K38_Technology2 ай бұрын
Hello 😁 vector is very fast library 👍👍👍
@girdharisinghyadav2 ай бұрын
thank you Shradha Didi 🥰🥰\\ I complete Lecture 11 Date /17/09/2024