Watch tutorials and explanations by expert teachers that walk through solving this problem.
ThinkOutsideTheBox
Code With K5KC
10 Minutes CS
ELeetCoder
Coder's Spot
Coder's Paradice
CodeBros
akami
hornclause
Solve more problems to master this pattern