Watch tutorials and explanations by expert teachers that walk through solving this problem.
Algorithms Made Easy
Aryan Mittal
NeetCodeIO
Techdose
Programming Live with Larry
Algorithms Casts
Programming Live with Larry
Brute force
Think-Twice-Code-Once