Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Divide and conquer?

Definition 27.1 High School Computer Science · Hoofdstuk 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.

Lees in het hoofdstuk →
Definition 21.1 University Computer Science — Year 1 · Hoofdstuk 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.

Lees in het hoofdstuk →