sorting algorithm

/ˈsɔːrtɪŋ ˌælɡəˌrɪðəm/

noun

  1. A procedure or set of instructions that arranges the elements of a list or collection in a particular order, such as from smallest to largest or alphabetically.

    B2

    countable

    • "The sorting algorithm puts the names in alphabetical order."B1
    • "Choosing the right sorting algorithm can greatly affect how fast a program runs on large data sets."B2
  2. In computer science, an algorithm for arranging data that is studied in terms of its time and space complexity.

    C1

    countable

    • "Merge sort is a sorting algorithm with a worst-case time complexity of O(n log n)."C1

Collocations

Word family