Watch tutorials and explanations by expert teachers that walk through solving this problem.
Timothy H Chang
code Explainer
Geekific
Code with Carter
Programming Live with Larry
Alpha-Code
Francesco Manicardi
Chris Ibe
Solve more problems to master this pattern