Pular para o conteúdo

Dynamic programming

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
5:37

Projeto e Análise de Algoritmos

This course teaches you to price an algorithm's design before you trust it with real data. The first two units cover analysis tools and divide and conquer. The…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
Dynamic programming/daɪˈnæmɪk ˈprəʊɡræmɪŋ/solving a problem by storing the answers to overlapping smaller problems and reusing them
dependency order/dɪˈpendənsi ˈɔːdə/ordem de dependência
DP table/ˌdiː ˈpiː ˈteɪbl/the table that stores the answer to each smaller problem in dynamic programming
memoisation/ˌmeməʊaɪˈzeɪʃn/Saving the results of function calls so repeated calls with the same inputs can reuse an earlier result.
descending order
subsequence/ˈsʌbsekwəns/items taken from a sequence in order, not necessarily next to each other
Edit distance/ˈedɪt ˈdɪstəns/the fewest insertions, deletions and substitutions needed to turn one string into another
Matrix-chain/ˈmeɪtrɪks tʃeɪn/the problem of choosing the order of matrix multiplications that needs the fewest scalar multiplications

Material de apoio

IGCSE, A-Level & AP