Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
Code with Alisha
Algorithms Made Easy
Coding Decoded
Nideesh Terapalli
codingMohan
GeeksforGeeks Practice
Let's Practice Together
Programming Live with Larry