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

อัลกอริทึมการค้นหา

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

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

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

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

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

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
comparisonsChecks that examine the relationship between values and give a true or false result.
list/lɪst/A collection of items arranged in a particular order.
linear search/ˈlɪnɪə sɜːtʃ/การค้นหาเชิงเส้น
binary search/ˈbaɪnəri sɜːtʃ/การค้นหาแบบทวิภาค
element/ˈelɪmənt/A substance made of atoms with the same proton number.
target/ˈtɑːɡɪt/The value that a search is trying to find.
Worst caseThe situation where a search needs the most comparisons.
trace/treɪs/To follow an algorithm step by step and record its values.
linked listsData structures where each item stores a link to the next item.
arraysData structures that store items in positions accessed directly by their index.
Sorting/ˈsɔːtɪŋ/The process of putting items into a chosen order.
direct access/daɪˈrekt ˈækses/The ability to reach an item without going through earlier items.
recordsGroups of related data stored together as a single item.
algorithm/ˈælɡərɪθəm/A finite sequence of precise steps for solving a problem or carrying out a task.
lookup tableA collection of stored values used to find information quickly.
insertion/ɪnˈsɜːʃn/The process of adding a new item to a collection.
loop conditionA test that decides whether a loop should continue running.
ถัดไป →

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

IGCSE, A-Level & AP