Can i implement by trie which is having structure as 9 pointers for 9 digits..like if it comes 4663...i will make a path 4663 from root to leaf and in end i will have a linked list to store data....any more optimized solution anyone having???plz suggest
On Thu, May 30, 2013 at 2:37 AM, rahul sharma <rahul23111...@gmail.com>wrote: > how to implement with trie.???is trie the best way..plz provide me raw > algo to start with, > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to algogeeks+unsubscr...@googlegroups.com.