Array.longest_ordered_sequence()
 
   
[Top]
predef::
Array

Method Array.longest_ordered_sequence()


Method longest_ordered_sequence

array(int) Array.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()


Insert any HTML comment here. You can use any HTML tags and containers. Use <phl> ... </phl> if you'd like to insert some Pike / C examples or code.
 
HTML OK CSS