Microsoft

www.microsoft.com
Employer Engaged

Interview Question

Software Development Engineer In Test (SDET) Interview(Student Candidate) Redmond, WA

Given a list of integers, return the longest contiguous

  subsequence that adds up to the largest value.
Answer

Interview Answer

1 Answer

0

I think it should be the shortest contiguous subsequence that adds up to the largest value.

Jacob on Jan 29, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.