Hello All ,

I am facing one problem while doing summation of values of duplicate node in
a Single Linked List as well removing those duplicates nodes.
My output should be summation of values of  duplicate nodes in sorted form
with removal of duplicate node.

suppose my single linked list is :

 A     B    A    A   C    B    B
 10   5     10   5    15   20   30

Output should be in sorted form with summations of values like this:
A     B    C
25   55    15

So please provide me algorithm or solution for this.

Thank you ,

----
Peeyush Bishnoi

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to