Watch tutorials and explanations by expert teachers that walk through solving this problem.
Naveen V
CodingForBeginners
Morning Byte
Reine Fang
Geoff Langenderfer
Java Coding Insight Interview Preparation
The Lofi Dev
Dan Teaches Code
Leetcode Tutorials