Watch tutorials and explanations by expert teachers that walk through solving this problem.
CodeInsanity
ExtremeProgrammer
Fearless Learner
Sleepy Cracker
SDE Skills
wai yip li
Solve more problems to master this pattern