Some exercises from Effective Java
Solution for http://www.spoj.com/problems/TOANDFRO/
Solution for http://www.spoj.com/problems/NSTEPS/