@sajj: if the range of number is not given then ?

On Tue, Dec 14, 2010 at 11:41 PM, sajj <sajjv...@gmail.com> wrote:
> you can use hash table for this dude.
>
> On Dec 14, 8:22 pm, Prims <topcode...@gmail.com> wrote:
>> given some positive numbers
>> output the numbers in decreasing order of frequency..in case of a tie
>> print the number which occurred first
>>
>> for eg: 1,3,3,1,2,3,5,2,3
>> the output should be 333311225
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@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.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@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.

Reply via email to