Concrete Mathematics: A Foundation for Computer Science free download
http://www.freebookspot.ws/Books-Concrete%20Mathematics%20%20A%20Foundation%20for%20Computer%20Science.htm
Programming Challenges
http://acm.cs.buap.mx/downloads/Programming_Challenges.pdf
and
http://basic-programming.googlecode.com/files/Programming%20Challenges.pdf