The best exercises are to look for ACM Programming Contest Questions.
Here are some programming contest questions from 2005 from an Atlantic Canada programming contest http://projects.cs.dal.ca/apics/contest05/
Here are some programming contest questions from 2005 from an Atlantic Canada programming contest http://projects.cs.dal.ca/apics/contest05/
A good source for the history of these questions and interview style, as well as a bevy of sample questions, can be found in "How Would You Move Mt. Fuji?" http://www.amazon.com/Would-Move-Mount-Microsofts-Puzzle/dp/...