Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Subproblem, dynamic programming?

Também chamado de: subproblem · dynamic programming

Definition 28.1 High School Computer Science · Capítulo 28 — Dynamic Programming

A subproblem of a problem is the same problem on a smaller input, whose solution helps build the solution of the whole. Dynamic programming solves a problem whose subproblems overlap by solving each subproblem once, recording its solution, and building larger solutions from the recorded ones.

Ler no capítulo →