Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
NeetCodeIO
Naresh Gupta
Programming Live with Larry
Cracking FAANG
Java Coding Insight Interview Preparation
Oladipo Timothy (Oauth)
Programming Live with Larry
Code JS