About 257,000 results
Open links in new tab
  1. 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 and the unsorted part at the right end.

  2. Selection Sort - GeeksforGeeks

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

  3. 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 position and so on (for ascending order).

  4. DSA Selection Sort - W3Schools

    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 value, and moves it to the front of the array.

  5. 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. Assume that the array A = [7, 5, 4, 2] needs to be sorted in ascending order.

  6. Selection Sort Algorithm - Steps, Example, Time Complexity - Tutorial

    Selection Sort. Selection Sort is a simple comparison-based sorting algorithm. It divides the array into two parts: the sorted part and the unsorted part. During each iteration, the smallest (or largest) element from the unsorted part is selected and swapped with the first element of the unsorted part, expanding the sorted part by one element.

  7. How Selection Sort Works: Step-by-Step Explanation

    Selection sort is a simple sorting algorithm that works by repeatedly finding the smallest element from the unsorted part of a list and moving it to the beginning. The algorithm divides the list into two parts: The sorted portion, which starts empty and grows from left to right as we find the smallest elements.

  8. Selection Sort Algorithm in C, Java, C++, Python with Examples

    Feb 11, 2025 · Learn about the Selection Sort Algorithm in C, Java, C++, and Python with examples in this tutorial. Understand its implementation & optimize your coding skills.

  9. Selection Sort Algorithm in Data Structures - W3Schools

    Learn how to implement the Selection Sort Algorithm in Data Structures and Algorithms (DSA). Understand how it works through C++, Python, and Java code examples.

  10. Selection Sort - GeeksforGeeks | Videos

    Jan 22, 2020 · This tutorial explains how selection sort algorithm works by dividing the input into a sorted and an unsorted region. It covers the theory, implementation, and walk you through step-by-step examples. Your All-in-One Learning Portal.

Refresh