Lompat ke konten

Sorting algorithms

Diperkenalkan
Lembar Kerja
Pelajaran video untuk topik ini Buka halaman video
15:34

Pencarian & Pengurutan

Buku telepon dengan satu juta nama. Jika Anda memeriksanya satu per satu, Anda mungkin melakukan satu juta perbandingan. Namun Anda sudah tahu triknya: buka di tengah…

Narasi bahasa Inggris · takarir bahasa Inggris dan 中文 yang dapat dipilih

Dalam pelajaran ini

Pelajaran video
Kosa kata
English Makna
sort/sɔːt/To arrange items in a list into a chosen order.
library/ˈlaɪbrəri/A collection of reusable routines that programs can call.
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
bubble sort/ˈbʌbl sɔːt/pengurutan gelembung
insertion sort/ɪnˈsɜːʃn sɔːt/penyisipan
list/lɪst/A collection of items arranged in a particular order.
trace/treɪs/To follow an algorithm step by step, recording how its data changes.
array/əˈreɪ/An indexed collection of elements arranged in one or more dimensions.
pass/pæs/One complete run through a part of the list during sorting.
swap/swɒp/To exchange two values so that each takes the other's place.
elements/ˈelɪmənts/Individual items in a collection or data structure.
inner loop/ˈɪnə luːp/A loop inside another loop that repeats steps during each pass.
flag/flæɡ/A stored indicator of a condition or state, often represented by a Boolean value or a single bit.
sorted sectionThe part of a list whose items are already in order.
key/kiː/The item held aside to be placed into the sorted section.
best caseThe input that allows an algorithm to complete with the least work.
extra memoryMemory used by an algorithm in addition to its input data.
in place/ɪn pleɪs/di tempat
stable/ˈsteɪbl/stabil
field/fiːld/A named component of a record, with its own value and type.
recordsGroups of related data stored together as a single item.
linear timeRunning time that grows in proportion to the number of items.
Selanjutnya →

Lembar Kerja

IGCSE, A-Level & AP