Find the number which occurs odd number of times in an Array. The appearance of the number or the element or the character is odd number of times.
Пікірлер: 39
@_DuongMinhLong9 ай бұрын
nice explanation sir
@davidcsidavidcsi4 жыл бұрын
Love it!! Finally understood!! It would be nice if you explained that in a loop, using odd ^= array[i] would do the whole operation and give the proper result... I didn't really understand that. Thanks!
@shaileshpatil641611 ай бұрын
nice explanation
@reyou75 жыл бұрын
Thanks a lot sir, you are an amazing teacher!
@tapanjeetroy82665 жыл бұрын
Thank you sir.. Please provide us with its implementing algorithm and also upload more of such helpful videos
@tomasz39256 жыл бұрын
Thank you very much!!!!
@RamisaAnjum4 жыл бұрын
Thank you! I should have found this channel earlier!!
@praveenchouhan63884 жыл бұрын
awesome explaination!!!!!!!!!!
@abhasahu27123 жыл бұрын
A very nice explanation. Could you please help me with the code if there are more elements occurring odd number of times?
@yunuskocatas38792 жыл бұрын
perfect teacher
@jharolsalvadorrivera44644 жыл бұрын
cool man! Thanks!
@abhrakar39677 жыл бұрын
Superb
@ManojKumar-0072 жыл бұрын
Nice explanation. Would have been more good if you have explained with binary representation.
@HarshaVardhan-jf9sd4 жыл бұрын
It can be done in log n using binarysearch
@Vishal-nc8ju5 жыл бұрын
best teacher
@saheb1405 жыл бұрын
What if there are multiple element with odd number of occurrence?
@pratapsingh-le2br5 жыл бұрын
upload more video Sir please related to the tree traverse lower to higher and also upload the operator and looping when use which loop condition plz Sir
@krishnashejul64183 жыл бұрын
Hi Sir, Please make video to find the two numbers with odd occurrences in an unsorted array
@jaysahu3576 жыл бұрын
nice sir
@kito2266 Жыл бұрын
Great but what if the array contains number that greater than 10? Like 11, 13 and so on
@sanketkumar15767 жыл бұрын
thanks for explaning xor works like addition earlier i was confused about its working
@aman9th7 жыл бұрын
Sanket Verma he meant that it is associative in nature
@pkjhabihar4 жыл бұрын
aisa krne se last wali element kaise print hogi wo bhi to leader h...???
@karan65513 жыл бұрын
❤️❤️❤️
@alluraiaht47704 жыл бұрын
please explain compareTo should compare sort string
@naziaashraf7595 Жыл бұрын
Even no ke liye kaise banaynge
@akhileshasare6 жыл бұрын
Once you explained logic can you please give whole programme. It will be better in understanding both logic and whole programme at a time. Thank you.
@yohanneskiros38736 жыл бұрын
int numberOccursOddNumberOfTimes(int[] input) { int number = input[0]; for (int i = 1; i < input.length; i++) { number = number ^ input[i]; } return number; }
@karthikp6015 жыл бұрын
This program for what for odd occuring times ????
@Pritamdas-bg7fp4 жыл бұрын
Sir why u are not uploading videos
@ruchirsingh36357 жыл бұрын
plz posting some new video sir ji
@emmaseay40684 жыл бұрын
The indian man always know this better than anyone
@lailasanthi75985 жыл бұрын
4 is also occurs odd no of times
@seemavatts35765 жыл бұрын
4 is two times in 1attempt
@JonasSchulteDE4 жыл бұрын
5:21 the magic moment :)
@gurmeetchawla83626 жыл бұрын
vivekanand ,where is the code for this? Kindly post that also.
@tommyjason50355 жыл бұрын
Could you please share the code using this XOR logic ?