Data Structures

About 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!

Created by: University of California San Diego


Related Online Courses

This is a Google Cloud Self-Paced Lab. In this lab, you\'ll learn the best methods to optimize query performance in Looker. Looker is a modern data platform in Google Cloud that you can use to... more
Understand the structure and techniques used in Machine Learning, Text Mining, and Decision Science for Marketing. Explore the fascinating world of Machine Learning and its transformative... more
NVIDIA-Certified Generative AI LLMs - Associate Specialization is intended for candidates working in AI, machine learning, and deep learning roles who want to enhance their expertise in generative... more
Cyber threats present a constant challenge today, costing billions and affecting everyone, from governments to small businesses. Are you ready to contribute to the solution? This course will... more
This course is designed to provide you with a solid foundation in understanding liabilities within an accounting context. By examining real-world examples and case studies, you will gain insights... more

CONTINUE SEARCH

FOLLOW COLLEGE PARENT CENTRAL