Sharing all the java solutions for the problems from cracking the coding interview by gayle laakmann. I also mention the algorithm space and time complexities