@sagar pareek: how do you allocated space for that number using array
at run time(by considering size of/number of bits to represent the
number is unknown )?
Thank you,
Siddharam


On Tue, Aug 16, 2011 at 10:03 AM, sagar pareek <sagarpar...@gmail.com> wrote:
>
> 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 <siddharam....@gmail.com> 
> 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 <ankitsamb...@gmail.com> 
>> 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 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.
>>
>> --
>> 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
> 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 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.

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