Create a structure
with num,count(of num) and link
parse the array and create nodes (nodes are created with id=num).
when the no of nodes == 3 print the nodes data and count.

On Wed, Sep 14, 2011 at 5:13 PM, parag khanna <[email protected]>wrote:

>
> find the frequencies of each alphabet ... n store it in an array
> corressponding to the ascii value of the alphabet as a index of array ... n
> store its count ... then sort the array in decreasing order ... and return
> the top 3 index value of the array in integer form
>
>
>
>
> --
>
>> Parag Khanna
>> B.tech Final Year
>> NIT,Kurukshetra
>
>
> --
>  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.
>



-- 
@ |3  # ! /\/ @ \./

-- 
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