Ir al contenido principal

Data Structures & Algorithms II: Binary Trees, Heaps, SkipLists and HashMaps

Become familiar with nonlinear and hierarchical data structures. Study various tree structures: Binary Trees, BSTs and Heaps. Understand tree operations and algorithms. Learn and implement HashMaps that utilize key-value pairs to store data. Explore probabilistic data structures like SkipLists. Course tools help visualize the structures and performance.

Data Structures & Algorithms II: Binary Trees, Heaps, SkipLists and HashMaps

Elige tu sesión:

Una vez finalizada la sesión del curso, será archivado.
Comienza el 22 oct
Comienza el 28 feb 2022
Comienza el 28 feb 2023
5 semanas estimadas
9–10 horas por semana
A tu ritmo
Avanza a tu ritmo
Gratis
Verificación opcional disponible

Sobre este curso

Omitir Sobre este curso

This Data Structures & Algorithms course extends beyond linear data structures in CS1332xI to the nonlinear and hierarchical data structures here in CS1332xII. A short Java review is presented on topics relevant to new data structures covered in this course. The course does require prior knowledge of Java, object-oriented programming and linear data structures. Time complexity is threaded throughout the course within all the nonlinear data structures and algorithms.

You will explore the hierarchical data structure of trees. Trees have important properties such as shape and order which are used to categorize trees into different groups and define their functionality. The course begins by explaining Binary Trees and two subgroups: Binary Search Trees (BSTs) and Binary Heaps. You will program BSTs, their operations and traversal algorithms. BSTs are an important structure when wanting to access information quickly. Heaps approach access differently and prioritize what data is accessed. Heaps also employ the concept of up-heap and down-heap operations not found in other structures.

HashMaps and SkipLists are the last data structures discussed in the course. The HashMap ADT is a collection of key-value pairs. The key-value pairs are stored in an unordered manner based on hash codes and compression functions that translate keys into integers. You will investigate different collision strategies and implement one. SkipLists are a probabilistic data structures where data is placed in the structure based on a randomization procedure.

The course design has several components and is built around modules. A module consists of a series of short (3-5 minute) instructional videos. In between the videos, there are textual frames with additional content information for clarification, as well as video errata dropdown boxes. All modules include an Exploratory Lab that incorporates a Visualization Tool specifically designed for this course. The lab includes discovery questions that lead you towards delving deeper into the efficiency of the data structures and examining the edge cases. This is followed by a set of comprehension questions on topics covered in the module that count for 10% of your grade. The modules end with Java coding assignments which are 60% of your grade. Lastly, you'll complete a course exam, which counts for the remaining 30% of your grade.

De un vistazo

  • Institución: GTx
  • Tema: Informática
  • Nivel: Intermediate
  • Prerrequisitos:

    Basic knowledge of the Java programming language, object-oriented principles, and the introductory data structures: arrays, linkedlists, stacks, queues, and deques.

Lo que aprenderás

Omitir Lo que aprenderás
  • Develop mature Java programming skills by using recursion in Tree ADTs
  • Investigate different nonlinear, linked data structures: Trees, Heaps, SkipLists and HashMaps
  • Study the significant uses and applications of hierarchical tree structures
  • Explore tree properties, and categorizing based on shape and order
  • Design and implement the binary trees: BSTs and Heaps
  • Examine edge cases and efficiencies in BST and Heap operations
  • Understand the up-heap, down-heap and build-heap procedures
  • Consider the probabilistic data structure, SkipLists, and randomization
  • Implement a HashMap ADT with its key-value pairs
  • Analyze the different collision strategies with HashMaps
  • Compute amortized analysis for Heaps and HashMaps

Plan de estudios

Omitir Plan de estudios

Module 0: Introduction and Review

  • Review of important Java principles involved in object-oriented design
  • The Iterator & Iterable design patterns, and the Comparable & Comparator interfaces
  • Basic “Big-Oh” notation and asymptotic analysis

Module 4: Binary Search Tree (BST) Introduction

  • Learn about the non-linear, linked data structure, Trees, and the important submodels: Binary Trees and Binary Search Trees (BST)
  • Acquire a working knowledge of the tree structure, including principles, properties and numerical concepts
  • Examine traversal algorithms for BSTs, the resulting order and the information obtained by each

Module 5: BST Operations & SkipLists

  • Extend understanding of tree structures and their impact on search operations
  • Study and implement efficient procedures for the search, add and remove operations in BSTs
  • Apply the concept of pointer reinforcement restructuring recursion technique to the add and remove operations
  • Investigate the probabilistic data structure, SkipLists, and the implications of randomization on data structures

Module 6: Binary Heaps

  • Explore the Binary Heap tree data structure and its additional property constraints that differentiate it from BSTs
  • Delve into the add and remove operations that require the up-heap and down-heap procedures
  • Explore the efficient bottom-up build heap algorithm

Module 7: HashMaps

  • Study HashMaps designed for efficient storage and retrieval based on the concept of unique keys paired with values
  • Learn about hash functions, hash codes and compression functions while implementing a basic HashMap
  • Investigate data collisions and the strategies to resolve data collisions from external chaining to linear and quadratic probing to double hashing

Acerca de los instructores

¿Quién puede hacer este curso?

Lamentablemente, las personas residentes en uno o más de los siguientes países o regiones no podrán registrarse para este curso: Irán, Cuba y la región de Crimea en Ucrania. Si bien edX consiguió licencias de la Oficina de Control de Activos Extranjeros de los EE. UU. (U.S. Office of Foreign Assets Control, OFAC) para ofrecer nuestros cursos a personas en estos países y regiones, las licencias que hemos recibido no son lo suficientemente amplias como para permitirnos dictar este curso en todas las ubicaciones. edX lamenta profundamente que las sanciones estadounidenses impidan que ofrezcamos todos nuestros cursos a cualquier persona, sin importar dónde viva.

¿Te interesa este curso para tu negocio o equipo?

Capacita a tus empleados en los temas más solicitados con edX para Negocios.