Watch tutorials and explanations by expert teachers that walk through solving this problem.
LetsCode
Tech DEV Coding
Java Coding Insight Interview Preparation
StatLearn Tech
Algorithms for Big Bucks
hakunamatasq
YouScaredMe
ExtremeProgrammer
Sleepy Cracker