state gov UP Police Computer Operator Grade A Mock Test 2023 Algorithms Searching, Sorting and Hashing Sorting
Which of the following sorting algorithms have a time complexity of n2?
1
Bubble sort
2
Selection sort
3
Insertion sort
4
All of the above
Which of the following sorting algorithms have a time complexity of n2?
Bubble sort