Watch tutorials and explanations by expert teachers that walk through solving this problem.
Mushu
Coding Interviews
Programming Live with Larry
JSer
Java Coding Insight Interview Preparation
Math Geeks
Tim Huang
Ozone Project
LetsCode
Solve more problems to master this pattern