Watch tutorials and explanations by expert teachers that walk through solving this problem.
Code-Yao
Algorithms Casts
Programming Live with Larry
Salita Programming
H William Polenz
Ozone Project
Kitajima
Yusuke
Solve more problems to master this pattern