Тёмный

Find Missing and Repeating Number | 5 Approaches with Full Code in Comments | Bit Manipulation Array 

Code with Alisha
Подписаться 29 тыс.
Просмотров 15 тыс.
50% 1

Опубликовано:

 

26 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 39   
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
Using Sign Trick: int* ans; // ans[0]->repeating // ans[1]->missing for(int i=0;i 1 if(arr[x]repeating ans[1] = 0; //bit not set //->missing for(int i=0;i
@valarmorghulis9244
@valarmorghulis9244 Год назад
Your XOR explanation is the best on youtube. I randomly chose to see this video on search results and now I am surprised by such a beautiful explanation.
@sarowerrafin5168
@sarowerrafin5168 Год назад
I personally recommend your videos to all my coder friends as your ability of making people understand the solution is amazing
@samit840
@samit840 Год назад
I found a highly underrated GEM You are way better than so called DSA-Gurus
@anishgupta3235
@anishgupta3235 2 года назад
Your channel is so underrated! Thanks for the alternate approaches, great explanation.
@wisdomkhan
@wisdomkhan 2 года назад
You explained the XOR one the best I saw on YT
@needsomeone3636
@needsomeone3636 4 дня назад
Can you share mathematical approach like how should I code it ?? Btw amazing knowledge 👍🏻
@MindsetMotivation75
@MindsetMotivation75 2 года назад
Watching after tons of videos in this problem. Finally i understood this now . Thank you very much. And to be honest , you explained this much better than striver.
@shivangisrivastava1158
@shivangisrivastava1158 2 года назад
Love you Alisha, you are just the best. Literally nowhere on youtube could i find any clear solution. But you saved us.
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
Thanks Shivangi, glad you found the solution helpful !!
@symbol767
@symbol767 2 года назад
Just came back to this video to say thank you for making this, approach 2 and 4 are my preferred ways of solving this and are perfect. Thanks for your help
@probabilitycodingisfunis1
@probabilitycodingisfunis1 2 года назад
Thank you ! Glad I could help
@abdulrehmanamer4252
@abdulrehmanamer4252 4 месяца назад
In XOR, how can we sure that the diffrentiating bit will lead us to the answer. I have understood your point for putting the values in 2 different buckets accordingly but how diffrentiating bit is leading us to the solution 3^4 = 1 so what??
@rubensontale
@rubensontale 2 года назад
you're one of the rare person who solves code in C , thats really wonderful , looking forward to more of your videos
@_S_AmitPandey
@_S_AmitPandey 2 года назад
she was using c++
@karthick...
@karthick... Год назад
thank u i literally watched 2 times to catch your speed amazing work
@Saurav_Kumar514
@Saurav_Kumar514 Год назад
Amazing explanation ma'am 👌👌😊👍
@harish5466
@harish5466 Год назад
Thank you. ur explanation is awesome
@KishanKumar-mf5ru
@KishanKumar-mf5ru Год назад
Xor explaining is awesome
@Chris-ej5de
@Chris-ej5de 10 месяцев назад
how can we get multiple approaches with any problem ???? Unbelievable 🙌🙌🙌😵
@pragneshamadavadi2267
@pragneshamadavadi2267 10 месяцев назад
Exception Explanation 🔥
@dhananjoydey1337
@dhananjoydey1337 2 года назад
Thank you so much.
@vamshisamineniz5905
@vamshisamineniz5905 2 года назад
u deserve 100k subscribers
@bandaruneeraj7246
@bandaruneeraj7246 Год назад
This is most Underated Channel
@shivangisrivastava1158
@shivangisrivastava1158 2 года назад
sign trick in Approach 3 is wowww!
@rushikeshdhete
@rushikeshdhete 2 года назад
You are too good 😍
@backbencher304
@backbencher304 2 года назад
Yeah she is good😂😂
@backbencher304
@backbencher304 2 года назад
Didn't get the intuition behind xor approach
@gorakhkumargupta491
@gorakhkumargupta491 2 года назад
😊 thanks ma'am
@sunilbhenspaliya9931
@sunilbhenspaliya9931 2 года назад
Thank you alisha👍🏽
@divyanshpatel1301
@divyanshpatel1301 Год назад
Damn good yrr... 👍
@it-series-music
@it-series-music Год назад
The video is nice but I suggest that you avoid repeating same line multiple times. For e.g "xor of 2 and 3 is 1" you have repeated this thrice ....this makes the video unnecessarily long
@devbhattacharya153
@devbhattacharya153 2 года назад
Thanks a lot maam
@ashvinkumhar5819
@ashvinkumhar5819 2 года назад
Thanks diii
@manojcmmohan9426
@manojcmmohan9426 Год назад
👌👌👌
@sincos4913
@sincos4913 2 года назад
striver really confuses a lot
@symbol767
@symbol767 2 года назад
I hate Math solution's so damn much. They are so unintuitive to come up with during an interview especially if you never seen this problem before. I'm gonna stick to the counts tracker solution and the sign trick solution, thank you
@divyanshpatel1301
@divyanshpatel1301 Год назад
You are a metallurgical engineering ,then how are so proficient in coding,huh?
@vrandakansal5940
@vrandakansal5940 Год назад
Top notch explanation💯🔥
Далее
Ilkinchi hotin oberasanmi deb o’ylabman🥹😄
00:26
I get on the horse's nerves 😁 #shorts
00:12
Просмотров 3,1 млн
Find missing and repeating number
9:55
Просмотров 45 тыс.
Find missing number in an array
8:31
Просмотров 134 тыс.
Fast Inverse Square Root - A Quake III Algorithm
20:08