need algorithms for these kinds of problems

Let's talk about algorithms!

Moderator: Board moderators

Post Reply
amishera
New poster
Posts: 38
Joined: Sat Dec 27, 2008 10:42 pm

need algorithms for these kinds of problems

Post by amishera »

Hi,

From where can I find algorithms+data structures (or theory) for the recurring problems involving manipulating large integers (having like thousands of digits) and also some problems like "number of digits in factorial", etc?

Thanks.

Taman
New poster
Posts: 32
Joined: Sun Oct 11, 2009 8:59 pm
Location: Southeast University

Re: need algorithms for these kinds of problems

Post by Taman »

Well, you should just enhance your string knowledge more :).
As u r looking to hold thousands of digits, look, a string can even store 10^7 digits :) so take the input as a string. and then you should just convert a character from ASCII value to numeric value and use them as you want. If you need further information plz PM me :)

Post Reply

Return to “Algorithms”