Title: Fast sequential and parallel dynamic programming