Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.32 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.32 KB

Analysis-Of-Algorithms

Includes different kinds of algorithms ( Search, Sort, etc)

Search Algorithm Name                  Best Case                  Worst Case               Language 
- Binary Seaarch                          O(1)                     O(log n)                    Java
- 

Sort Algorithm Name                  Best Case                  Worst Case                  Language 
- Selection Sort                       O(n^2)                     O(n^2)                        Java
- Insertion Sort                       O(n)                       O(n^2)                        Java
- Bubble Sort                          O(n)                       O(n^2)                        Java
- Counting Sort                        O(n+k)                     O(n+k)                        Java
- Bucket Sort                          O(n+k)                     O(n^2)                        Java 
- Quick Sort                           O(nlog(n))                 O(n^2)                        Java 
- Merge Sort                           O(nlog(n))                 O(nlog(n))                    JavaScript 
- Shell Sort                           O(nlog(n))                 O(n^2)                        Java