Skip to content

Latest commit

 

History

History
127 lines (73 loc) · 2.78 KB

README.md

File metadata and controls

127 lines (73 loc) · 2.78 KB

Fundamental Algorithms

This repository contains various fundamental algorithms implemented in C and C++, focusing on performance analysis. Each algorithm is accompanied by a brief description and example usage.

Topics Covered

Basic File I/O

Handles basic file input/output operations.

Basic Sort Comparison

Basic Sort Average Average Case of Basic Sort

Basic Sort Best Best Case of Basic Sort

Basic Sort Worst Worst Case of Basic Sort

Compares basic sorting algorithms.

Breadth-First Search (BFS)

BFS Performance Performance Analysis of BFS

Implements the Breadth-First Search algorithm.

Depth-First Search (DFS)

DFS Performance Performance Analysis of DFS

Implements the Depth-First Search algorithm.

Fstream I/O

Demonstrates file input/output operations using fstream.

Hash Tables

Hash Tables Hash Tables in Action

Implements hash tables for efficient data retrieval.

Heaps and Heapsort

Heapsort Average Average Case of Heapsort

Heapsort Best Best Case of Heapsort

Heapsort Worst Worst Case of Heapsort

Implements heaps and the Heapsort algorithm.

Kruskal's Minimum Spanning Tree (MST)

Kruskal's MST Performance Performance Report of Kruskal's MST

Finds the Minimum Spanning Tree using Kruskal's algorithm.

Merge k Sorted Lists

Merge k Lists Merging k Sorted Lists

Merges k sorted lists efficiently.

Merge Sort

Implements the Merge Sort algorithm.

Merge Sort Test

Tests the Merge Sort implementation.

Profiler Test

Tests the performance of various algorithms.

Quicksort

Quicksort Average Average Case of Quicksort

Quicksort Best Best Case of Quicksort

Quicksort Worst Worst Case of Quicksort

Implements the Quicksort algorithm.

Red-Black Trees

Red-Black Trees Red-Black Trees

Implements Red-Black Trees for balanced binary search trees.

Tetris

Console Tetris Console Tetris Game

A Tetris game implementation.

Tree Data Structures

Tree Data Structures Various Tree Data Structures

Implements various tree data structures.

Tree Traversals and Hybrid Quick Sort

Hybrid Quick Sort Threshold Report Threshold Report for Hybrid Quick Sort

Performs tree traversals and implements a hybrid Quick Sort algorithm.