Watch tutorials and explanations by expert teachers that walk through solving this problem.
LetsCode
Liam
Code with Carter
Codenut
socialsoftwareengineer
ExtremeProgrammer
Solve more problems to master this pattern