Watch tutorials and explanations by expert teachers that walk through solving this problem.
Tim Huang
Progmatic
Code With K5KC
Code to Success
Encode Decode
LeekCodeDev
Coding streak
hornclause
Coding Blizz
Solve more problems to master this pattern