Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lizatinku/ecs36_hw


https://github.com/lizatinku/ecs36_hw

Last synced: about 23 hours ago
JSON representation

Awesome Lists containing this project

README

        

ECS 36C Homeworks 1 - 4

# Data Structures and Algorithms (DSA)
This repository contains implementations of fundamental Data Structures and Algorithms.

## Table of Contents

1. **Data Structures**
- Arrays
- Queues
- Linked List

2. **Algorithms**
- Merge Sort
- Quick Sort

3. **Trees**
- Binary Search Tree (BST)
- Red-Black Tree

## Data Structures

### Arrays
A fixed-size collection of elements accessible via indices.

### Queue
A FIFO data structure where elements are added at the rear and removed from the front.

### Linked List
A collection of elements where each node points to the next.

## Algorithms

### Merge Sort
A divide-and-conquer sorting algorithm with O(n log n) time complexity.

### Quick Sort
A sorting algorithm that partitions elements around a pivot with average O(n log n) time complexity.

## Trees

### Binary Search Tree (BST)
A tree structure where each node’s left child is smaller and the right child is larger.

### Red-Black Tree
A balanced binary search tree ensuring logarithmic time operations by maintaining color properties.