()
| 151 | |
| 152 | |
| 153 | def main(): |
| 154 | algos = { |
| 155 | "selection_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 156 | "bubble_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 157 | "insertion_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 158 | "merge_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 159 | "quick_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 160 | "counting_sort": ["TC : O(n^2)", "SC : O(1)"], |
| 161 | } |
| 162 | |
| 163 | inp = [1, 2, 7, -8, 34, 2, 80, 790, 6] |
| 164 | arr = counting_sort(inp) |
| 165 | print("U are amazing, Keep up") |
| 166 | |
| 167 | |
| 168 | if __name__ == "__main__": |
no test coverage detected