Next:
4.3 Unsorted array
Up:
4 More examples
Previous:
4.1 Old friend
4
.
2
Sorted array
How do we say that an array is sorted in a non-decreasing order? Let us assume that the array is called
, and it has
elements.
Note that
is the set of all integers from 0 to
,
including
0 and
.
Copyright © 2006-08-28 by Tak Auyeung