全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Divide and conquer?

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

在原文中阅读 →
Definition 21.1 University Computer Science — Year 1 · 第 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.

在原文中阅读 →