Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
Sahil & Sarra
Sandip Jana
Programming Live with Larry
code Explainer
Programming Live with Larry
Huifeng Guan
Java Coding Insight Interview Preparation
CodeJulian