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

Abstract Data Types — stack, queue, linked list

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

ประเภทข้อมูล & โครงสร้างข้อมูล

ทุกค่าที่คุณโปรแกรมจัดเก็บต้องมีประเภทข้อมูล — และการเลือกให้ถูกต้องนั้นสำคัญ Suppose คุณต้องการจัดเก็บว่าสินค้ามีในสต็อกหรือไม่ คุณอาจพิมพ์คำว่า yes…

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

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

บทเรียนวิดีโอ
คำศัพท์
English ความหมาย
queue/kjuː/คิว
push/pʊʃ/การpush
topThe end of a stack where items are added and removed.
operations/ˌɒpəˈreɪʃnz/Actions that can be performed on data in a structure.
abstract data type/ˈæbstrækt ˈdeɪtə taɪp/ชนิดข้อมูลนามธรรม
implementation/ˌɪmplɪmənˈteɪʃn/The process of turning a design or algorithm into a working system or program.
stack/stæk/สตैก
linked list/lɪŋkt lɪst/ลิงค์ลิสต์
binary tree/ˈbaɪnəri triː/A tree structure in which each node has at most two children.
array/əˈreɪ/An indexed collection of elements arranged in one or more dimensions.
LIFO/ˈlaɪfəʊ/后进先出 (LIFO)
pop/pɒp/ป๊อป
peekTo look at the top item of a stack without removing it.
return addressesAddresses that show where a program continues after a function finishes.
function callsInstructions that ask functions to run and then return control to the caller.
backtrackingThe process of returning to an earlier step to try another path.
pointer/ˈpɔɪntə/พอยเตอร์
rear/rɪə/The end of a queue where new items are added.
frontThe end of a queue where items are removed.
FIFO/ˈfaɪfəʊ/先进先出 (FIFO)
enqueue/enˈkjuː/เควนู
dequeue/diːˈkjuː/ดีคิว
print spoolingThe process of holding print jobs in a queue until the printer handles them.
keyboard buffersTemporary storage areas that hold key presses until they are processed.
scheduling/ˈʃedjuːlɪŋ/Choosing which ready process or task receives processing time or another resource, and when.
breadth-first search/bredθ fɜːst sɜːtʃ/A graph-search method that explores vertices by increasing distance in edges from the start, usually using a queue.
rear pointerA value that identifies the rear position used when adding to a queue.
front pointerA value that identifies the position of the next item to remove from a queue.
node/nəʊd/โหนด
data itemOne piece of information stored in a data structure.
start pointerA value that identifies the first node in a linked list.
sentinel/ˈsentɪnl/A special value that marks a condition such as the end of a list.
insert/ˈɪnsɜːt/To add a new item to a data structure, file or table.
delete/dɪˈliːt/To remove a record from a table.
search/sɜːtʃ/To look through data for an item that matches a given value.
traverse/trəˈvɜːs/ทราเวอร์ส
head/hed/The first node in a linked list, where traversal begins.
random accessThe ability to reach an item directly without passing through earlier items.
address/əˈdres/An identifier specifying a location in memory or on a network.
head pointerA value that identifies the first node in a linked list.
nested callsFunction calls made while another function call is still running.
pointer variablesVariables that hold addresses or positions used to find data.

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

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

IGCSE, A-Level & AP