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.
Given an unsigned integer x, find the largest y by rearranging the bits in x
Sorted highest to lowest?
Back to basics 11 - Max Integer
Celsius to Kelvin
Compute Fibonacci Number
Make an N-dimensional Multiplication Table
Project Euler: Problem 16, Sums of Digits of Powers of Two
Pull the variable y_correct from the Caller's Workspace
Pig Latin to English Translator
Read a Soroban Abacus
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