VOOZH about

URL: https://www.coursera.org/learn/data-structures

⇱ Data Structures | Coursera


Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Gain insight into a topic and learn the fundamentals.
4.6

5,573 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
93%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.6

5,573 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
93%
Most learners liked this course

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

9 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Data Structures and Algorithms Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

A good algorithm usually comes together with a set of good data structures that allow the algorithm to manipulate the data efficiently. In this online course, we consider the common data structures that are used in various computational problems. You will learn how these data structures are implemented in different programming languages and will practice implementing them in our programming assignments. This will help you to understand what is going on inside a particular built-in implementation of a data structure and what to expect from it. You will also learn typical use cases for these data structures.

A few examples of questions that we are going to cover in this class are the following: 1. What is a good strategy of resizing a dynamic array? 2. How priority queues are implemented in C++, Java, and Python? 3. How to implement a hash table so that the amortized running time of all operations is O(1) on average? 4. What are good strategies to keep a binary tree balanced? You will also learn how services like Dropbox manage to upload some large files instantly and to save a lot of storage space!

In this module, you will learn about the basic data structures used throughout the rest of this course. We start this module by looking in detail at the fundamental building blocks: arrays and linked lists. From there, we build up two important data structures: stacks and queues. Next, we look at trees: examples of how they’re used in Computer Science, how they’re implemented, and the various ways they can be traversed. Once you’ve completed this module, you will be able to implement any of these data structures, as well as have a solid understanding of the costs of the operations, as well as the tradeoffs involved in using each data structure.

What's included

7 videos7 readings1 assignment1 programming assignment

7 videosβ€’Total 60 minutes
  • Arraysβ€’8 minutes
  • Singly-Linked Listsβ€’9 minutes
  • Doubly-Linked Listsβ€’5 minutes
  • Stacksβ€’10 minutes
  • Queuesβ€’7 minutes
  • Treesβ€’11 minutes
  • Tree Traversalβ€’10 minutes
7 readingsβ€’Total 70 minutes
  • Welcomeβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Available Programming Languagesβ€’10 minutes
  • FAQ on Programming Assignmentsβ€’10 minutes
  • Acknowledgementsβ€’10 minutes
1 assignmentβ€’Total 10 minutes
  • Basic Data Structuresβ€’10 minutes
1 programming assignmentβ€’Total 120 minutes
  • Programming Assignment 1: Basic Data Structuresβ€’120 minutes

In this module, we discuss Dynamic Arrays: a way of using arrays when it is unknown ahead-of-time how many elements will be needed. Here, we also discuss amortized analysis: a method of determining the amortized cost of an operation over a sequence of operations. Amortized analysis is very often used to analyse performance of algorithms when the straightforward analysis produces unsatisfactory results, but amortized analysis helps to show that the algorithm is actually efficient. It is used both for Dynamic Arrays analysis and will also be used in the end of this course to analyze Splay trees.

What's included

5 videos1 reading1 assignment

5 videosβ€’Total 31 minutes
  • Dynamic Arraysβ€’9 minutes
  • Amortized Analysis: Aggregate Methodβ€’6 minutes
  • Amortized Analysis: Banker's Methodβ€’6 minutes
  • Amortized Analysis: Physicist's Methodβ€’8 minutes
  • Amortized Analysis: Summaryβ€’3 minutes
1 readingβ€’Total 10 minutes
  • Slides and External Referencesβ€’10 minutes
1 assignmentβ€’Total 8 minutes
  • Dynamic Arrays and Amortized Analysisβ€’8 minutes

We start this module by considering priority queues which are used to efficiently schedule jobs, either in the context of a computer operating system or in real life, to sort huge files, which is the most important building block for any Big Data processing algorithm, and to efficiently compute shortest paths in graphs, which is a topic we will cover in our next course. For this reason, priority queues have built-in implementations in many programming languages, including C++, Java, and Python. We will see that these implementations are based on a beautiful idea of storing a complete binary tree in an array that allows to implement all priority queue methods in just few lines of code. We will then switch to disjoint sets data structure that is used, for example, in dynamic graph connectivity and image processing. We will see again how simple and natural ideas lead to an implementation that is both easy to code and very efficient. By completing this module, you will be able to implement both these data structures efficiently from scratch.

What's included

15 videos6 readings3 assignments1 programming assignment1 plugin

15 videosβ€’Total 129 minutes
  • Introductionβ€’6 minutes
  • Naive Implementations of Priority Queuesβ€’6 minutes
  • Binary Treesβ€’1 minute
  • Basic Operationsβ€’13 minutes
  • Complete Binary Treesβ€’9 minutes
  • Pseudocodeβ€’9 minutes
  • Heap Sortβ€’11 minutes
  • Building a Heapβ€’11 minutes
  • Final Remarksβ€’4 minutes
  • Overviewβ€’8 minutes
  • Naive Implementationsβ€’10 minutes
  • Trees for Disjoint Setsβ€’8 minutes
  • Union by Rankβ€’10 minutes
  • Path Compressionβ€’6 minutes
  • Analysis (Optional)β€’18 minutes
6 readingsβ€’Total 60 minutes
  • Slidesβ€’10 minutes
  • Tree Height Remarkβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
3 assignmentsβ€’Total 26 minutes
  • Priority Queues and Disjoint Setsβ€’6 minutes
  • Priority Queues: Quizβ€’12 minutes
  • Quiz: Disjoint Setsβ€’8 minutes
1 programming assignmentβ€’Total 120 minutes
  • Programming Assignment 2: Priority Queues and Disjoint Setsβ€’120 minutes
1 pluginβ€’Total 10 minutes
  • Surveyβ€’10 minutes

In this module you will learn about very powerful and widely used technique called hashing. Its applications include implementation of programming languages, file systems, pattern search, distributed key-value storage and many more. You will learn how to implement data structures to store and modify sets of objects and mappings from one type of objects to another one. You will see that naive implementations either consume huge amount of memory or are slow, and then you will learn to implement hash tables that use linear memory and work in O(1) on average! In the end, you will learn how hash functions are used in modern disrtibuted systems and how they are used to optimize storage of services like Dropbox, Google Drive and Yandex Disk!

What's included

20 videos4 readings2 assignments1 programming assignment

20 videosβ€’Total 148 minutes
  • Applications of Hashingβ€’4 minutes
  • Analysing Service Access Logsβ€’8 minutes
  • Direct Addressingβ€’7 minutes
  • Hash Functionsβ€’4 minutes
  • Chainingβ€’7 minutes
  • Chaining Implementation and Analysisβ€’6 minutes
  • Hash Tablesβ€’6 minutes
  • Phone Book Data Structureβ€’10 minutes
  • Universal Familyβ€’10 minutes
  • Hashing Phone Numbersβ€’9 minutes
  • Hashing Namesβ€’6 minutes
  • Analysis of Polynomial Hashingβ€’9 minutes
  • Find Substring in Textβ€’7 minutes
  • Rabin-Karp's Algorithmβ€’8 minutes
  • Recurrence for Substring Hashesβ€’12 minutes
  • Improving Running Timeβ€’9 minutes
  • Julia's Diaryβ€’7 minutes
  • Julia's Bankβ€’5 minutes
  • Blockchainβ€’6 minutes
  • Merkle Treeβ€’7 minutes
4 readingsβ€’Total 40 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
2 assignmentsβ€’Total 60 minutes
  • Hashingβ€’30 minutes
  • Hash Tables and Hash Functionsβ€’30 minutes
1 programming assignmentβ€’Total 120 minutes
  • Programming Assignment 3: Hash Tablesβ€’120 minutes

In this module we study binary search trees, which are a data structure for doing searches on dynamically changing ordered sets. You will learn about many of the difficulties in accomplishing this task and the ways in which we can overcome them. In order to do this you will need to learn the basic structure of binary search trees, how to insert and delete without destroying this structure, and how to ensure that the tree remains balanced.

What's included

7 videos2 readings1 assignment

7 videosβ€’Total 55 minutes
  • Introductionβ€’8 minutes
  • Search Treesβ€’5 minutes
  • Basic Operationsβ€’11 minutes
  • Balanceβ€’6 minutes
  • AVL Treesβ€’6 minutes
  • AVL Tree Implementationβ€’10 minutes
  • Split and Mergeβ€’10 minutes
2 readingsβ€’Total 20 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
1 assignmentβ€’Total 20 minutes
  • Binary Search Treesβ€’20 minutes

In this module we continue studying binary search trees. We study a few non-trivial applications. We then study the new kind of balanced search trees - Splay Trees. They adapt to the queries dynamically and are optimal in many ways.

What's included

4 videos2 readings1 assignment1 programming assignment

4 videosβ€’Total 36 minutes
  • Applicationsβ€’11 minutes
  • Splay Trees: Introductionβ€’7 minutes
  • Splay Trees: Implementationβ€’8 minutes
  • (Optional) Splay Trees: Analysisβ€’11 minutes
2 readingsβ€’Total 20 minutes
  • Slides and External Referencesβ€’10 minutes
  • Slides and External Referencesβ€’10 minutes
1 assignmentβ€’Total 6 minutes
  • Splay Treesβ€’6 minutes
1 programming assignmentβ€’Total 180 minutes
  • Programming Assignment 4: Binary Search Treesβ€’180 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.5 (724 ratings)
University of California San Diego
7 Coursesβ€’759,211 learners
University of California San Diego
5 Coursesβ€’741,213 learners
University of California San Diego
7 Coursesβ€’783,798 learners

Explore more from Algorithms

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    73.53%

  • 4 stars

    20.61%

  • 3 stars

    3.60%

  • 2 stars

    0.77%

  • 1 star

    1.47%

Showing 3 of 5573

AS
Β·

Reviewed on Sep 18, 2019

The best data structures course that I have taken! The complex topics are made simpler at the expense of teaching style that allowed me to make it applicable in a real world situations.

AD
Β·

Reviewed on Feb 7, 2020

Excellent review on data structures. I've taken a graduate level course covering advanced data structures, but I was still able to learn new things through the challenging assignments.

ME
Β·

Reviewed on Aug 25, 2020

Course is very knowledgeable and is deigned properly but the allocated time for assignments is too less than the time specified. Also some assignments need more support in the forum

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,