Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Greedy algorithm?

Definition 18.2 High School Computer Science · Bab 18 — Greedy Algorithms

A greedy algorithm builds a solution one piece at a time, each time taking the piece that looks best at that moment, by a fixed rule, and never going back on a choice.

Baca dalam konteks →
Definition 22.1 University Computer Science — Year 1 · Bab 22 — Greedy Algorithms and Their Proofs

A greedy algorithm builds a solution by a sequence of choices, each made by a fixed rule that looks only at the current partial solution, and never undone.

Baca dalam konteks →