@lalit : I wanted to use bit vector to find the missing no. since the list contains all the numbers from 0 to 2^32 except one missing no. But it would require a bit vector of 2^32 bits which won't fit in memory. So, I found the narrowed the range in which the missing no. lies and then applied the bit vector concept. I hope its clear now ...
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.