Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Divide and conquer?

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

Baca dalam konteks →
Definition 21.1 University Computer Science — Year 1 · Bab 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.

Baca dalam konteks →