Bucket sort algortihm Linkedlist based

On Fri, Jun 22, 2012 at 3:31 PM, Gobind Kumar Hembram
<gobind....@gmail.com>wrote:

> I was asked this question in one company Programming Round.Please help
> me in solving this,I tried with array of pointers ,2-D array and by
> buffering.
>
> You have a file with names of brands separated by comma. Write a
> program (in language of your choice) to group them by their starting
> letter.
>
> For example, if the input file is this:
> Reebok, Puma, Adidas, Clarks, Catwalk, Converse, FILA, Lotto, Newfeel,
> Nike, Numero Uno, New Balance, ASICS, Carlton London, Crocs
>
> The program should print the following:
> A
>  ASICS, Adidas
>
> C
>  Carlton London, Catwalk, Clarks, Converse, Crocs
>
> F
>  FILA
>
> L
>  Lotto
>
> N
>  New Balance, Newfeel, Nike, Numero Uno
>
> P
>  Puma
>
> R
>  Reebok
>
> --
> 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 to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 

Regards,
Eshwar
+91-95350-86592
This message (including any attachments) is intended only for the use of
the individual or entity to which it is addressed and may contain
information that is non-public, proprietary, privileged, confidential, and
exempt from disclosure under applicable law or may constitute as attorney
work product. If you are not the intended recipient, you are hereby
notified that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and (i) destroy
this message if a facsimile or (ii) delete this message immediately if this
is an electronic communication. Thank you.

-- 
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 to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to