deeps sinha wrote:I want a book which will teach the basics as well.
Basics - upto what level?
For computer science (basically algorithms), you almost won't need calculus. All you'll need is a descent book for discrete mathematics. Even from those books you'll need to understand few topics like combinatorial, probability, number theory (just intro level), set theory, graph theory, basic data structures, asymptotic notations etc.
Below are few authors with good books (I remember them by authors instead of book names)-
C. L. Liu (short and sweet - one of my favorite book)
Tremblay & Manohar (especially good for set and graph theory)
Kenneth Rosen (a heavy dose of discrete mathematics - contains lot of examples and exercises)
Coreman (this is for computer algorithms, but some of basic mathematics is also covered in it)
Lipschutz (very nice treatment to probability and counting - i.e. permutations and combinations)
Knuth (he has written a book for discrete mathematics - I guess the name is 'Concrete Mathematics')
I hope this helps.