Java code solving programming problems in the book of CareerCup-Top 150 Questions 4th.