Community Profile

photo

Andrew Murray


Harvard University

Last seen: 3 years ago Active since 2011

Professional Interests: biology

Statistics

  • First Answer

View badges

Content Feed

View by

Answered
Length of the longest continuous string of the same number
This can be done in one line: out = max(diff(find([1,diff(A'),1]))); out = 4 This works by looking at the dif...

13 years ago | 1