What is the order of selection sort?



What is the order of selection sort?..

Answer / Dinesh Singh Chauhan

Selection sort has a linear order of O(n^2), where n is the number of items being sorted. In each step, it finds the minimum element from the unsorted part and places it at the right position in the sorted part.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What is the bucket size, when the overlapping and collision occur at the same time?

1 Answers  


What are the categories of avl rotations?

1 Answers  


Does set allow null values?

1 Answers  


What is a 2 dimensional array?

1 Answers  


How to compare Two Arrays?

1 Answers  


Define double hashing?

1 Answers  


Why is null not allowed in concurrenthashmap?

1 Answers  


What does abstract data type mean?

1 Answers  


What is sorting an array?

1 Answers  


Why might quick sort might be better than merge sort?

1 Answers  


What does sorting an array do?

1 Answers  


Q#1: An algorithm is made up of 2 modules M1 and M2.If order of M1 is F(n) and order of M2 is g (n) then what is the order of the algorithm. Q # 2 : How many binary trees are possible with 3 nodes? with 4 nodes?

4 Answers  


Categories