About 774,000 results
Open links in new tab
  1. Selection Sort (With Code in Python/C++/Java/C) - Programiz

    Selection Sort is an algorithm that works by selecting the smallest element from the array and putting it at its correct position and then selecting the second smallest element and putting it at its correct …

  2. Selection Sort | Practice | GeeksforGeeks

    Given an array arr, use selection sort to sort arr [] in increasing order. Examples : Input: arr[] = [4, 1, 3, 9, 7] Output: [1, 3, 4, 7, 9] Explanation: Maintain sorted (in bold) and unsorted subarrays. Select 1. …

  3. C Program for Selection Sort - GeeksforGeeks

    Aug 20, 2024 · The selection sort is a simple comparison-based sorting algorithm that sorts a collection by repeatedly finding the minimum (or maximum) element and placing it in its correct position in the …

  4. DSA Selection Sort - W3Schools

    Selection Sort Implementation To implement the Selection Sort algorithm in a programming language, we need: An array with values to sort. An inner loop that goes through the array, finds the lowest …

  5. Selection Sort - Python - GeeksforGeeks

    Mar 14, 2026 · Selection Sort is one of the simplest comparison-based sorting algorithms. It sorts an array by repeatedly finding the smallest (or largest) element from the unsorted portion and placing it …

  6. 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 end …

  7. Sort an Array - LeetCode

    Can you solve this real interview question? Sort an Array - Given an array of integers nums, sort the array in ascending order and return it. You must solve the problem without using any built-in …

  8. Java Program for Selection Sort - GeeksforGeeks

    Jul 23, 2025 · The selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order) from the unsorted part and putting it at the beginning.

  9. Selection Sort - Naukri Code 360

    Dec 15, 2020 · Practice selection sort coding problem. Make use of appropriate data structures & algorithms to optimize your solution for time & space complexity & c...

  10. Sorting Algorithms - GeeksforGeeks

    Jan 20, 2026 · Comparison Based : Selection Sort, Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort, Cycle Sort, 3-way Merge Sort Non Comparison Based : Counting Sort, Radix Sort, …