Here is my implementations of some of the algorithms from the book Cracking The Coding Interview. I don't pretent my solutions are the best. Moreover all the solutions to the exercices are in the book.
Just open each project with your Java IDE and run the code.