Watch tutorials and explanations by expert teachers that walk through solving this problem.
Ashwani Kansal
Code Circle
Fearless Learner
Roel Van de Paar
Programming With Heer
CodingForBeginners
ExtremeProgrammer
ExtremeProgrammer
Web Fusion with Bharadwaj