About 1,040,000 results
Open links in new tab
  1. Selection sort - Wikipedia

    In computer science, selection sort is an in-place comparison sorting algorithm. It has a O (n2) time complexity, which makes it inefficient on large lists, and generally performs worse than …

  2. Selection Sort (With Code in Python/C++/Java/C) - Programiz

    In this tutorial, you will understand the working of selection sort with working code in C, C++, Java, and Python.

  3. Selection Sort - GeeksforGeeks

    Dec 8, 2025 · Selection Sort is a comparison-based sorting algorithm. It sorts by repeatedly selecting the smallest (or largest) element from the unsorted portion and swapping it with the …

  4. Selection Sort Algorithm - Online Tutorials Library

    Selection sort is a simple sorting algorithm. This sorting algorithm, like insertion sort, is an in-place comparison-based algorithm in which the list is divided into two parts, the sorted part at the left …

  5. DSA Selection Sort - W3Schools

    Continue reading to fully understand the Selection Sort algorithm and how to implement it yourself.

  6. Selection Sort Tutorials & Notes | Algorithms | HackerEarth

    The Selection sort algorithm is based on the idea of finding the minimum or maximum element in an unsorted array and then putting it in its correct position in a sorted array.

  7. Selection Sort Algorithm (With Program in Python/Java/C/C++)

    Mar 17, 2025 · In selection sort, the smallest value among the unsorted elements of the array is selected in every pass and inserted into its appropriate position into the array. It is also the …

  8. Selection Sort Algorithm – Iterative & Recursive | C, Java, Python

    Sep 18, 2025 · Given an integer array, sort it using the selection sort algorithm. Selection sort is an unstable, in-place sorting algorithm known for its simplicity. It has performance advantages …

  9. Selection Sort Algorithm - Steps, Example, Time Complexity

    Selection Sort is a simple sorting algorithm that is easy to understand and implement. While it is not efficient for large datasets, it is useful for small datasets or as a teaching tool to …

  10. Selection Sort - LeetCode The Hard Way

    Selection sort is a commonly used comparison-based sorting algorithm. It's very simple to implement and works on the premise that two subarrays are maintained: one which is sorted, …