Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.51 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.51 KB

Algorithms .NET

This repository can help you to prepare yourself for the algorithm questions on .net platform. It includes main sorting algorithms, Fibonacci numbers algorithms and others. Plus it is also covered with tests for better understanding.

Contents

This solution contains the following algorithms:

Sorting

Algorithm Time Complexity (Average) Space Complexity (Worst)
Bubble Sort Θ(n^2) O(1)
Insertion Sort Θ(n^2) O(1)
Heapsort Θ(n log(n)) O(1)
Merge Sort Θ(n log(n)) O(n)
Quicksort Θ(n log(n)) Θ(n log(n))

Common Algorithms

Algorithm Time Complexity (Average) Space Complexity (Worst)
Fibonacci Numbers Iterative Θ(n) O(1)
Fibonacci Numbers Recursive Θ(φ^n) O(1)
Reverse Array Θ(n) O(1)

Technologies

This solution uses the following technologies: