Answers
Matlab Cody Problem 15. Find the longest sequence of 1's in a binary sequence
- Course
- Matlab Cody
- Institution
- Massachusetts Institute Of Technology
Problem 15. Find the longest sequence of 1's in a binary sequence. Created by Cody Team in Cody Challenge Given a string such as s = '' find the length of the longest string of consecutive 1's. In this example, the answer would be 4. Example: Input x = '' Output y is 3
[Show more]