返回卡包市场

121 Week 8 - Stack and Linked Lists

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 8内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (8 张)

#1
正面 (问题)

Stack

背面 (解答)

An abstract data type which holds a collection of items in the order in which they were added. It is a Last in First out data type meaning items are added to and removed from the top of the stack.

#2
正面 (问题)

Stack functions

背面 (解答)

Push - add an item to the top of the stack pop - remove the item on top of the stack and return its value. Empty - return true if the stack has no items, else return false

#3
正面 (问题)

Underflow

背面 (解答)

Trying to pop from an empty stack

#4
正面 (问题)

Overflow

背面 (解答)

In bounded stacks, trying to push an item when the stack is full

#5
正面 (问题)

Applications of a stack

背面 (解答)

Call stack for program execution Syntax and semantics of programming languages Depth first searching algorithms

#6
正面 (问题)

List

背面 (解答)

An abstract data type that stores a set of items in a linear order. It cannot have duplicates

#7
正面 (问题)

Singly linked list

背面 (解答)

A list where elements contain a value and a pointer to the next item in the list

#8
正面 (问题)

Doubly linked list

背面 (解答)

A list where elements contain a value and a pointer to the next item in the list and previous item in the list.