Saltar al contenido

Sorting algorithms

Introducido
Material
Lección de video para este tema Abrir la página de video
15:34

Búsqueda y ordenamiento

Una guía telefónica con un millón de nombres. Si los revisas uno por uno, podrías hacer un millón de comparaciones. Pero ya conoces el truco: ábrela en el…

Narración en inglés · subtítulos en inglés y 中文 que puedes cambiar

En esta lección

Videolección
Vocabulario
English Significado
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/ordenamiento burbuja
insertion sort/ɪnˈsɜːʃn sɔːt/ordenamiento por inserción
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/in situ
stable/ˈsteɪbl/estable
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.
Siguiente →

Material

IGCSE, A-Level & AP