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

การค้นหา (Searching)

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

โครงสร้างข้อมูลและอัลกอริทึม

This course is about choosing a container by what it costs. The first unit is the yardstick: how cost grows with the size of the input. The next four are the…

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

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

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
Linear search/ˈlɪnɪə sɜːtʃ/checking items one by one from the start until the target is found; O(n)
Binary search/ˈbaɪnəri sɜːtʃ/searching a sorted list by comparing with the middle item and discarding half each time; O(log n)
Interpolation search/ɪnˌtɜːpəˈleɪʃn sɜːtʃ/A search of sorted data that probes where the target's value should lie, estimated from the values at the ends of the range.
exponential search/ˌekspəˈnenʃl sɜːtʃ/Searching sorted data of unknown length by doubling the probe index until it passes the target, then binary-searching the last range.
ถัดไป →

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

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

IGCSE, A-Level & AP