Watch tutorials and explanations by expert teachers that walk through solving this problem.
Ascorbicindio
Ozone Project
CodeInsanity
Programming Live with Larry
Algorithms for Big Bucks
Fearless Learner
Tim Huang
ExtremeProgrammer
An Average Programmer