Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 2.19 KB

README.md

File metadata and controls

26 lines (14 loc) · 2.19 KB

Data-Structure-Algorithm

Search Algorithm

  1. Linear Search, Time Complexity : O(n), Code: Java Code , Python Code

  2. Binary Search, Time Complaxity : O(log n), Code: Java Code , Python Code

  3. Jump Search, Time Complaxity : O(sqrt(n)) , Code: java , Python Code

  4. Exponential Search, Time Complaxity : O(Log n), Code: Java , Python

Sorting Algorithm

  1. Selection Sort, Time Complaxity : O(n^2), Space Complaxity : 1, Code : Java , Python

  2. Bubble Sort, Time Complaxity : O(n^2), Space Complaxity : 1, Code : Java , Python

  3. Insertion Sort, Time Complaxity : O(n^2), Space Complaxity : 1, Code : Java , Python

  4. Quick Sort, Time Complaxity : O(n*log(n)) , Code : python , Java Code

  5. Merge Sort, Time Complaxity : O(n*log(n)) , Code : Python , Java Code