Computer ScienceIntermediate

Data Structures

Lists, trees, heaps and hash tables, implemented from scratch and graded against a test suite.

Contents

How data is arranged in memory, what each arrangement makes cheap, and how to pick one on purpose. Starts from what a data structure is and ends with the reasoning to choose between them.

1

How to think about data structures

What a data structure is, what computer memory actually looks like, and how to judge whether something is cheap or expensive without a stopwatch. Everything later in the course leans on this section, so it takes its time.

0/14

Arrays

Opens once you finish How to think about data structures, including its quiz.

locked

Linked lists

Opens once you finish Arrays, including its quiz.

locked

Stacks and queues

Opens once you finish Linked lists, including its quiz.

locked

Hash tables

Opens once you finish Stacks and queues, including its quiz.

locked

Trees

Opens once you finish Hash tables, including its quiz.

locked

Heaps and priority queues

Opens once you finish Trees, including its quiz.

locked

Graphs

Opens once you finish Heaps and priority queues, including its quiz.

locked

Choosing a structure

Opens once you finish Graphs, including its quiz.

locked

Data Structures unit exam

Opens once every section is finished and every quiz is passed.