just java codes for CRACKING THE CODING INTERVIEW 4th