Watch tutorials and explanations by expert teachers that walk through solving this problem.
One Code Man
Cherry Coding [IIT-G]
Happy Coding
Timothy H Chang
Suraj Joshi
Everyday Data Science
StatLearn Tech
Solve more problems to master this pattern