Skip to content

Latest commit

 

History

History
 
 

Algorithms

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Algorithms

This directory contains pseudocode for various algorithms, aiding in the development of better algorithms and optimizing them for specific scenarios.

Hierarchy

The repository follows a strict hierarchy, with directories for different types of algorithms:

Algorithms
    ├── Search
    │   ├── LinearSearch
    │   ├── BinarySearch
    │   └── PolynomialSearch
    │
    ├── Sort
    │   ├── BubbleSort
    │   ├── SelectionSort
    │   ├── InsertionSort
    │   ├── QuickSort
    │   ├── MergeSort
    │   ├── HeapSort
    │   ├── ShellSort
    │   └── RadixSort
    │
    ├── PathFinding
    │   ├── DijkstrasAlgorithm
    │   └── AStarAlgorithm
    │
    ├── DynamicProgrammingAlgorithms
    ├── GreedyAlgorithms
    ├── RecursiveAlgorithms
    ├── MachineLearningAlgorithms
    └── EncryptionDecryptionAlgorithms

Sections Template

The README.md of algorithm will typically contain:

  • Introduction
  • Pseudocode
  • Time Complexity
  • Space Complexity
  • Variants
  • Use Cases
  • Best Practices
  • References

Notations for Time & Space Complexity

Symbol Name Case
Ω Big Omega Best Case
Θ Big Theta Average Case
O Big O Worst Case

Note

Ensure the time complexity order follows: best, average, worst.