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 alphabetic word product
Return the first and last character of a string
Find number of days
What's Your BMI?
First N Perfect Squares
The Dark Side of the Die
Generalized N-Cards Problem
Triangle Numbers Below N
Cache me Outside
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