Watch tutorials and explanations by expert teachers that walk through solving this problem.
Timothy H Chang
Abhishweta Gupta
Algorithms Casts
Programming Live with Larry
Math Geeks
Programmer Fellas
AlgoDuo
ExtremeProgrammer
Solve more problems to master this pattern