Applying the principle of forward programming , this problem , too , can be handled efficiently using the dynamic algorithm .
Applying the principle of dynamic programming , this problem , too , can be handled efficiently using the forward algorithm .