Next:
Algorithm: Insertion Sort
Up:
CSE 2320: Algorithms and
Previous:
Algorithms - What Are
Example: Sorting
Sorting is a common operation
Many sorting algorithms available, best choice depends on application
PROBLEM:
INPUT: Sequence of
n
numbers
OUTPUT: Permutation (reordering)
of the input sequence such that
INSTANCE:
Copyright © 1998 The University of Texas at Arlington