ข้ามไปยังเนื้อหา

Sorting algorithms

แนะนำใหม่
เอกสารประกอบการเรียน
บทเรียนวิดีโอสำหรับหัวข้อนี้ เปิดหน้าวิดีโอ
15:34

การค้นหา & การเรียงลำดับ

สมุดโทรศัพท์ที่มีชื่อหนึ่งล้านชื่อ หากคุณตรวจสอบทีละชื่อ อาจต้องเปรียบเทียบถึงหนึ่งล้านครั้ง แต่คุณรู้เทคนิคอยู่แล้ว: เปิดมันใน…

บรรยายภาษาอังกฤษ · สลับคำบรรยายภาษาอังกฤษและภาษาจีนได้

ในบทเรียนนี้

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
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/การเรียงลำดับแบบฟองอากาศ
insertion sort/ɪnˈsɜːʃn sɔːt/การเรียงลำดับด้วยการแทรก
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/ในสถานที่
stable/ˈsteɪbl/เสถียรภาพ
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.
ถัดไป →

เอกสารประกอบการเรียน

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP