Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
Tushar Roy - Coding Made Simple
Techdose
Coding Decoded
Timothy H Chang
Eric Programming
Programming Live with Larry
Happy Coding
Programming Live with Larry