Skip to content

Maximum sum of increasing subsequence#247

Merged
seeditsolution merged 1 commit intoseeditsolution:masterfrom
cadwellh5:patch-1
Oct 3, 2020
Merged

Maximum sum of increasing subsequence#247
seeditsolution merged 1 commit intoseeditsolution:masterfrom
cadwellh5:patch-1

Conversation

@cadwellh5
Copy link
Contributor

if input is {1, 101, 2, 3, 100, 4, 5}, then output should be 106 (1 + 2 + 3 + 100),
if the input array is {3, 4, 5, 10}, then output should be 22 (3 + 4 + 5 + 10)
if the input array is {10, 5, 4, 3}, then output should be 10

 if input is {1, 101, 2, 3, 100, 4, 5}, then output should be 106 (1 + 2 + 3 + 100), 
if the input array is {3, 4, 5, 10}, then output should be 22 (3 + 4 + 5 + 10) 
if the input array is {10, 5, 4, 3}, then output should be 10
@seeditsolution seeditsolution merged commit ac8d94c into seeditsolution:master Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants