Watch tutorials and explanations by expert teachers that walk through solving this problem.
David Anuson
Java Coding Insight Interview Preparation
Think-Twice-Code-Once
Mike the Coder
MB Tutorials
Programming Live with Larry
hakunamatasq
Math Geeks
Alex Tedla