Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Divide and conquer?

Definition 27.1 High School Computer Science · Capítulo 27 — Divide and Conquer

Divide and conquer is a way of designing algorithms in three steps: divide the problem into smaller problems of the same kind; solve each of them, by the same method, until they are small enough to be solved directly; combine their solutions into a solution of the whole.

Ler no capítulo →
Definition 21.1 University Computer Science — Year 1 · Capítulo 21 — Divide and Conquer

A divide and conquer algorithm solves an instance of a problem in three steps: divide it into smaller instances of the same problem, solve each of them by a recursive call (or directly when it is small enough), and combine their solutions into a solution of the instance.

Ler no capítulo →