One of the most 'mysterious' parts of playing Cody is the sizing system. Given a string of commands, return the size that Cody would return if it was a submitted solution.
Refer to About Cody for more information.
can anyone give me a hint about this problem
I found the help for this problem to be a bit circular. In the end, there was a comment from one of the blog posts that mentioned looking at the undocumented mtree code (e.g. 'edit mtree' a the command line). It's a big class, but try looking for the nodesize method and go from there. I don't know if this is how actually how cody comes up with the score, but the number of nodes from mtree works as a solution here.
Find the longest sequence of 1's in a binary sequence.
Counting in Finnish
System of equations
Largest Twin Primes
Guess the Coefficients!
N-Dimensional Array Slice
Return the first and last character of a string
Specific Element Count
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