Watch tutorials and explanations by expert teachers that walk through solving this problem.
ExtremeProgrammer
Hundred Coding
Sleepy Cracker
Samobot
CodeVia
Schoolabe
LeekCodeDev
CODE with TRIVENI
Solve more problems to master this pattern