Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
codestorywithMIK
GeeksforGeeks Practice
SDE Skills
Programming Live with Larry
Cracking FAANG
Programming Live with Larry
Developer Coder
Code Monger