Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCode
Aryan Mittal
CodingNinja
Ashutosh Maheshwari
Coding For Dummies
Programming Live with Larry
Programming Live with Larry
Sakura Programming
Code Harmony