[algogeeks] repeted element

2011-06-06 Thread the coder
can we find the first repeated element in array in O(N) complexity. Array may contain more than 1 repeated elements. -- 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 unsubscr

[algogeeks] 5th largest element

2011-06-05 Thread the coder
hi friendz given an array how to find the k th largest element in O(N) complexity. -- 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