Find Missing number in an array (Unsorted and Sorted array)

preview_player
Показать описание
This video explains how to find the missing number in both sorted as well as an unsorted array. 4 methods have been discussed. The code for XOR method is as follows:-
Please Help us reach 1K subscriber by subscribing to our channel.
If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)
Рекомендации по теме
Комментарии
Автор

First explain the question properly, then dive into the solution/logic.

aslamshaik
Автор

does this works if some of the elements in the array are negative

Kushagra_
Автор

Great work sir . Explain code flow in slow flow.

prakashmishra
Автор

pls sir I am watching from Ghana
Pls how do you implement a binary search algorithm using the array [1, 2, 3, , 5, 6, 7, 8 ]

abdulmuhsin
Автор

what if the array has
A = [9.8, 6, 5, 4] and 7 is missing.

tripathi
Автор

Is this Xor will able to handle the negative cases?

pankajjaiswal