Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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.

Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 914891 Submitted 7 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 9. Who Has the Most Change?
Solution 914890 Submitted 7 hours and 56 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 9. Who Has the Most Change?
Solution 914889 Submitted 7 hours and 57 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
78Size
0 Comments
Problem 27. Pangrams!
Solution 914888 Submitted 8 hours and 9 minutes ago by anthony
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 27. Pangrams!
Solution 914887 Submitted 8 hours and 11 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
162Size
0 Comments
Problem 28. Counting Money
Solution 914886 Submitted 8 hours and 30 minutes ago by anthony
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 28. Counting Money
Solution 914885 Submitted 8 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.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 914884 Submitted 10 hours and 53 minutes ago by Jesse
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 914883 Submitted 10 hours and 54 minutes ago by Jesse
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
77Size
0 Comments
Problem 13. Remove all the consonants
Solution 914882 Submitted 11 hours and 28 minutes ago by anthony
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
81Size
0 Comments
Problem 13. Remove all the consonants
Solution 914881 Submitted 11 hours and 29 minutes ago by anthony
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 914880 Submitted 11 hours and 42 minutes ago by Yiyang Guo
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 13. Remove all the consonants
Solution 914879 Submitted 11 hours and 50 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 13. Remove all the consonants
Solution 914878 Submitted 11 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
148Size
0 Comments
Problem 80. Test for balanced parentheses
Solution 914877 Submitted 13 hours and 1 minute ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 80. Test for balanced parentheses
Solution 914876 Submitted 13 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.
51Size
0 Comments
Problem 45. Make a Palindrome Number
Solution 914875 Submitted 13 hours and 45 minutes ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
73Size
1 Comment
Problem 39. Which values occur exactly three times?
Solution 914874 Submitted 14 hours and 1 minute ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914873 Submitted 14 hours and 4 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 39. Which values occur exactly three times?
Solution 914872 Submitted 14 hours and 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 59. Pattern matching
Solution 914871 Submitted 14 hours and 8 minutes ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 59. Pattern matching
Solution 914870 Submitted 14 hours and 10 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
138Size
0 Comments
Problem 69. Find the peak 3n+1 sequence value
Solution 914869 Submitted 14 hours and 23 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 148. Factorize THIS, buddy
Solution 914868 Submitted 14 hours and 38 minutes ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 314. Find the sum of the elements in the "second" diagonal
Solution 914867 Submitted 14 hours and 39 minutes ago by Brendan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914866 Submitted 14 hours and 55 minutes ago by Ling
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914865 Submitted 14 hours and 55 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 39. Which values occur exactly three times?
Solution 914864 Submitted 14 hours and 58 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 730. How many trades represent all the profit?
Solution 914863 Submitted 15 hours and 21 minutes ago by Xin Xiao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 730. How many trades represent all the profit?
Solution 914862 Submitted 15 hours and 23 minutes ago by Xin Xiao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 914861 Submitted 15 hours and 41 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 233. Reverse the vector
Solution 914860 Submitted 15 hours and 42 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 22. Remove the vowels
Solution 914859 Submitted 15 hours and 44 minutes ago by Anthony Tracy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914858 Submitted 16 hours and 1 minute ago by Ling
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 914857 Submitted 16 hours 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 3. Find the sum of all the numbers of the input vector
Solution 914856 Submitted 16 hours 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 3. Find the sum of all the numbers of the input vector
Solution 914855 Submitted 16 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 914854 Submitted 16 hours and 15 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 914853 Submitted 16 hours and 15 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 914852 Submitted 16 hours and 17 minutes ago by Isaac Powell
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 914851 Submitted 16 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.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 914850 Submitted 16 hours and 30 minutes ago by Isaac Powell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 914849 Submitted 16 hours and 32 minutes ago by Isaac Powell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914848 Submitted 16 hours 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 39. Which values occur exactly three times?
Solution 914847 Submitted 16 hours and 44 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 7. Column Removal
Solution 914846 Submitted 16 hours and 44 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 39. Which values occur exactly three times?
Solution 914845 Submitted 16 hours and 44 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 7. Column Removal
Solution 914844 Submitted 16 hours and 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 11. Back and Forth Rows
Solution 914843 Submitted 16 hours and 44 minutes ago by Yu Zhang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 914842 Submitted 16 hours and 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.