Linked Lists

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

This set of flashcards covers key concepts related to linked lists, including their structure, methods of insertion and deletion, and differences from arrays.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

Linked List

A data structure suitable for use in many types of general-purpose databases, where each data item is embedded in a link or a node.

2
New cards

Node

An object that contains data and a reference to the next node in a linked list.

3
New cards

Reference

A number that refers to an object, typically representing the object's address in memory.

4
New cards

Insert First

A method that inserts a new link at the beginning of the linked list.

5
New cards

Delete First

A method that disconnects and removes the first link in the linked list.

6
New cards

Self-referential Class

A class that includes a field that references an object of the same class.

7
New cards

Double-Ended List

A linked list that has references to both the first and last links, allowing insertion at both ends.

8
New cards

Sorted List

A linked list where items are arranged in sorted order by key value.

9
New cards

Doubly Linked List

A linked list in which each node has two references: one to the next node and one to the previous node.

10
New cards

Efficiency of Linked Lists

Insertion and deletion at the beginning of a linked list are O(1), while finding and inserting next to a specific item is O(N).