Watch tutorials and explanations by expert teachers that walk through solving this problem.
NeetCodeIO
Edignite Ngo
Programming Live with Larry
Leetcode Tutorials
CodeinDepth
Programming Live with Larry
Coding Ninjas Webinars and Contest Editorials
Java Coding Insight Interview Preparation
ShipItParrot