id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tom.wexler@oberlin.edu ocpython > maxIncreasing
prev  |  next  |  chance

maxIncreasing() -- Given a list L of integers, return the length of longest contiguous and strictly increasing subsequence of the list.


maxIncreasing([5, 9, 1, 10]) → 2
maxIncreasing([2, 2, 4, 6, 6]) → 3
maxIncreasing([3, 6, 2, 10, 20, 5, 100]) → 3

...Save, Compile, Run (ctrl-enter)

def maxIncreasing(L) :

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Copyright Nick Parlante 2017 - privacy