You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 1. Selection sort is the simplest sorting algorithm. It finds the smallest element in the array and swaps it with the first position in the array. Then the second smallest and swaps it with the second position etc.
* 2. Worst Case Time Complexity : O(n2)
* 3. Best Case Time Complexity : O(n2)
* 4. Average Time Complexity : O(n2)
* 5. Space Complexity : O(1)
* This makes it inefficient to operate on larger datasets