Well sambyal i just know that neither trie nor link list is the answer may be you have to make ur own data structure using *array of structure *having elements like long carry, long long number and all.. i m not sure
On Mon, Aug 15, 2011 at 11:21 AM, siddharam suresh <[email protected]>wrote: > i feel, doubly linked list. Whenever addition/subtraction is done we > take/put the from/to to next digit. in doubly linked list its easy to > move/go back and forth. > Thank you, > Siddharam > > > > On Mon, Aug 15, 2011 at 8:41 AM, ankit sambyal <[email protected]>wrote: > >> @sagar : What is the best answer for this question ?? >> >> -- >> 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. >> > > -- > 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. > -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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.
