I'll solve this one on my first furlough day.
Is there a new problem with the testcases or with Cody?
I have a solution that works in R2018b on my computer, but in Cody the input argument is not being reset after the first testcase...
The problem with the first test case has been fixed.
Find the longest sequence of 1's in a binary sequence.
Given an unsigned integer x, find the largest y by rearranging the bits in x
Make one big string out of two smaller strings
Return 'on' or 'off'
Number of odd and even elements within matrix
I'm going to enjoy watching you calculate, Mr Anderson
With apologies to William Blake
Accessing values in a cell
Longest run of consecutive numbers
What digit is it?
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office