My name is Jai and I'm here to give you the solutions to all the problems present in the java section of the codingbat website.The codingbat website is a great place to hone basic programming, logic, and problem solving skills. But sometimes one may get stuck while solving a problem , and that is when you think really hard about all of your code , trying to figure out a way to solve a particular problem.
But some times you just cant seem to crack that problem and it wastes a lot of your time too. Time that could be spent studying other things.
To overcome this problem I am giving the solutions here. But first a friendly word of warning , whenever you get stuck solving a particular problem, don't just jump over here find the solution and paste it there and say to yourself "WELL, that was easy". Instead spend at least a few minutes pondering over why is your solution not working and what other way could you use to tackle that problem. It is that pondering and critical analysis that will make you a good programmer for the rest of you days.
And last but not least I would like to thank Mr. Nick Parlante for creating such a useful website which has helped me gain a lot of confidence in coding.
Thank You Sir !