How to find the indexes of a repeated element in the sorted array in
*log n*time..

e.g.
     a:   1 3 4 4 5 6 7 8  8 9 9 9 10

     x=9

ouput is 10 and 12 (indexing from 1)



-- 
Regards
Kumar Raja
M.Tech(SIT)
IIT Kharagpur,
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to