Shooter and a moving target – Dynamic Programming Algorithm The statement of the problem that my professor has mentioned :