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.
Determine if input is odd
Project Euler: Problem 5, Smallest multiple
Matrix indexing with two vectors of indices
Try 1.5.4: Celsius to Fahrenheit
Length of the hypotenuse
Generate N equally spaced intervals between -L and L
Return the first and last character of a string
Number of 1s in the Binary Representation of a Number
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
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