Cody

Problem 42837. Increasing sub-sequence (Level 1)

Created by HH in Community

Given a vector, v, of real numbers, return a positive integer, n, representing the longest contiguous increasing sub-sequence contained in v.

Example:

v = [2 18 9 6 11 20 25 3]

n = 4

Solution Stats

62.86% Correct | 37.14% Incorrect
Last solution submitted on Jun 20, 2018

Solution Comments

Recent Solvers15

Suggested Problems

More from this Author34