Method Array.longest_ordered_sequence()


Method longest_ordered_sequence

array(int) longest_ordered_sequence(array a)

Description

Find the longest ordered sequence of elements.

This function returns an array of the indices in the longest ordered sequence of elements in the array.

See also

diff()