Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Cody Solutions

What is Size?

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 515297 Submitted 42 minutes ago by Christopher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 94. Target sorting
Solution 515296 Submitted 44 minutes ago by Uri
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 94. Target sorting
Solution 515295 Submitted 45 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 515294 Submitted 45 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 515293 Submitted 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1116. Calculate the height of an object dropped from the sky
Solution 515285 Submitted 1 hour and 30 minutes ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515279 Submitted 1 hour and 40 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515277 Submitted 1 hour and 43 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 515272 Submitted 1 hour and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 515271 Submitted 1 hour and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 515269 Submitted 1 hour and 51 minutes ago by N Almudhahka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515265 Submitted 2 hours and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 515263 Submitted 2 hours and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 19. Swap the first and last columns
Solution 515249 Submitted 2 hours and 21 minutes ago by T
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 6. Select every other element of a vector
Solution 515239 Submitted 2 hours and 32 minutes ago by T
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2609. If-then-else
Solution 515233 Submitted 2 hours and 52 minutes ago by N Almudhahka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 515213 Submitted 3 hours and 53 minutes ago by T
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515185 Submitted 4 hours and 31 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 515181 Submitted 4 hours and 33 minutes ago by T
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515176 Submitted 4 hours and 37 minutes ago by Bob
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515175 Submitted 4 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 26. Determine if input is odd
Solution 515163 Submitted 5 hours and 21 minutes ago by Simon Green
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 515162 Submitted 5 hours and 21 minutes ago by Simon Green
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515161 Submitted 5 hours and 22 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 26. Determine if input is odd
Solution 515160 Submitted 5 hours and 23 minutes ago by Simon Green
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 26. Determine if input is odd
Solution 515159 Submitted 5 hours and 27 minutes ago by Simon Green
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 26. Determine if input is odd
Solution 515158 Submitted 5 hours and 27 minutes ago by Simon Green
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 7. Column Removal
Solution 515139 Submitted 5 hours and 54 minutes ago by Wim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 7. Column Removal
Solution 515138 Submitted 5 hours and 54 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2602. Did you say please? - Find one string within another without strfind or regexp/regexpi
Solution 515129 Submitted 6 hours and 1 minute ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2602. Did you say please? - Find one string within another without strfind or regexp/regexpi
Solution 515126 Submitted 6 hours and 3 minutes ago by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 637. Volume of a Parallelepiped
Solution 515111 Submitted 6 hours and 14 minutes ago by Grant
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 637. Volume of a Parallelepiped
Solution 515110 Submitted 6 hours and 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 515102 Submitted 6 hours and 20 minutes ago by Joshua Arnold
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 515101 Submitted 6 hours and 21 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 515093 Submitted 6 hours and 33 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 515092 Submitted 6 hours and 36 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 515091 Submitted 6 hours and 39 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 20. Summing digits
Solution 515058 Submitted 7 hours and 34 minutes ago by Pavel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 20. Summing digits
Solution 515056 Submitted 7 hours and 39 minutes ago by Pavel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 20. Summing digits
Solution 515055 Submitted 7 hours and 40 minutes ago by Pavel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 751. Implement simple rotation cypher
Solution 515038 Submitted 8 hours and 29 minutes ago by Daniel Armyr
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 515036 Submitted 8 hours and 42 minutes ago by Herman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 515035 Submitted 8 hours and 43 minutes ago by Herman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 515029 Submitted 8 hours and 54 minutes ago by Herman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 106. Weighted average
Solution 515027 Submitted 8 hours and 56 minutes ago by Herman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 515017 Submitted 9 hours and 11 minutes ago by Robbe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 515010 Submitted 9 hours and 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 515009 Submitted 9 hours and 31 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 515004 Submitted 9 hours and 36 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.