Watch tutorials and explanations by expert teachers that walk through solving this problem.
CrioDo
Towards Data Analytics
Frederik Müller
Cherry Coding [IIT-G]
Cloudvala
Everyday Data Science
Java Coding Insight Interview Preparation
Programming Live with Larry
Everyday Data Science