Watch tutorials and explanations by expert teachers that walk through solving this problem.
AlgoJS
FLAGeek官方频道
Programming Live with Larry
Leetcode Daily
Algorithms Casts
Code-Yao
LetsCode
Solve more problems to master this pattern