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