Given an array of size N having numbers in the range 0 to k where k<=N, preprocess the array inplace and in linear time in such a way that after preprocessing you should be able to return count of the input element in O(1).
Please give some idea ........!! Thanks.. -- 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.
