Watch tutorials and explanations by expert teachers that walk through solving this problem.
Lit Code
Luc Taylor
Code-Yao
AlgoDuo
Code & Coffee
CodeIsSimple
CodeMeThere
OpenMind
Problem Solving with NoLifers
Solve more problems to master this pattern