i**********0 发帖数: 359 | 1 Write a Java program that find and print the first longest ascending or
descending contiguous subsequence for a vector of integers. For example,
given a vector with
4, 2, 1, 2, 3, 4, 3, 5, 1, 2, 4, 6, 5
the program would find the underlined subsequence (1,2,3,4) and print it. |
|