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.

18Size
0 Comments
Problem 167. Pizza!
Solution 480792 Submitted 12 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 480791 Submitted 13 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 480790 Submitted 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 480789 Submitted 21 minutes ago by Miao
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 480788 Submitted 22 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 480787 Submitted 25 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 7. Column Removal
Solution 480786 Submitted 31 minutes ago by John
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 480785 Submitted 36 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 480784 Submitted 37 minutes ago by John
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 480783 Submitted 37 minutes ago by John
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 480782 Submitted 38 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 480781 Submitted 39 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 7. Column Removal
Solution 480780 Submitted 40 minutes ago by Miao
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 480779 Submitted 41 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 6. Select every other element of a vector
Solution 480777 Submitted 44 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 26. Determine if input is odd
Solution 480776 Submitted 46 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 480775 Submitted 47 minutes ago by Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 8. Add two numbers
Solution 480774 Submitted 48 minutes ago by Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 22. Remove the vowels
Solution 480773 Submitted 48 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 46. Which doors are open?
Solution 480772 Submitted 49 minutes ago by Brian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 480771 Submitted 51 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 480770 Submitted 53 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 480769 Submitted 55 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 480768 Submitted 58 minutes ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
84Size
0 Comments
Problem 2022. Find a Pythagorean triple
Solution 480764 Submitted 1 hour and 1 minute ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 480763 Submitted 1 hour and 1 minute ago by Miao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 46. Which doors are open?
Solution 480762 Submitted 1 hour and 2 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2018. Side of a rhombus
Solution 480761 Submitted 1 hour and 3 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 480760 Submitted 1 hour and 4 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 480759 Submitted 1 hour and 6 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2016. Area of an equilateral triangle
Solution 480758 Submitted 1 hour and 7 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2016. Area of an equilateral triangle
Solution 480757 Submitted 1 hour and 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
49Size
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 480756 Submitted 1 hour and 9 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 480755 Submitted 1 hour and 9 minutes ago by Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2023. Is this triangle right-angled?
Solution 480754 Submitted 1 hour and 9 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 2023. Is this triangle right-angled?
Solution 480753 Submitted 1 hour and 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 480752 Submitted 1 hour and 11 minutes ago by Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 480751 Submitted 1 hour and 13 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 480750 Submitted 1 hour and 14 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 2020. Area of an Isoceles Triangle
Solution 480749 Submitted 1 hour and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 35. Quote Doubler
Solution 480748 Submitted 1 hour and 15 minutes ago by Brian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1247. When can one be the Life Member of the IEEE?
Solution 480747 Submitted 1 hour and 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480745 Submitted 1 hour and 17 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480744 Submitted 1 hour and 18 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480743 Submitted 1 hour and 19 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480742 Submitted 1 hour and 19 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480741 Submitted 1 hour and 20 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480740 Submitted 1 hour and 20 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
9Size
0 Comments
Problem 1774. Free passes for everyone!
Solution 480739 Submitted 1 hour and 21 minutes ago by Ondrej
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 1974. Length of a short side
Solution 480738 Submitted 1 hour and 24 minutes ago by Josh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.