Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
Fisher Coder
IB
Everyday Data Science
Programming Live with Larry
Daily Leetcode Javascript
Programming Live with Larry
Hashem Alsaket
Sleepy Cracker