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
Nideesh Terapalli
GeeksforGeeks Practice
Programming Live with Larry