I think that won't be feasible bcoz of high time complexity. Either you can use Python language which provides its own big number pakage or check this link.
http://www.cse.iitd.ernet.in/~suban/CSL102/rsa/node21.html On Mon, Dec 27, 2010 at 2:17 AM, Aniket <[email protected]> wrote: > DIVIDE TWO VARYING LENGTH NUMBERS > EX: ONE CAN BE UPTO 60 DIGIT AND OTHER 40 DIGIT > > Well,I thought of an approach.Store each digit of each number in two > separate integer arrays(From right to left).Then apply the subtraction > method.Will it be feasible? > > -- > 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]<algogeeks%[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.
