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.

27Size
0 Comments
Problem 33. Create times-tables
Solution 548327 Submitted 6 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 548326 Submitted 9 minutes ago by Manuel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 548325 Submitted 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 189. Sum all integers from 1 to 2^n
Solution 548324 Submitted 10 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 105. How to find the position of an element in a vector without using the find function
Solution 548323 Submitted 12 minutes ago by Taylor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 548322 Submitted 13 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 157. The Hitchhiker's Guide to MATLAB
Solution 548321 Submitted 18 minutes ago by Taylor
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 548320 Submitted 37 minutes ago by Victor Marcano
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 548319 Submitted 38 minutes ago by Victor Marcano
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 548318 Submitted 40 minutes ago by Victor Marcano
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 548317 Submitted 42 minutes ago by Victor Marcano
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
301Size
0 Comments
Problem 58. Tic Tac Toe FTW
Solution 548316 Submitted 52 minutes ago by Kevin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 548315 Submitted 1 hour and 24 minutes ago by Hari Teja Reddy Peddi Reddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 548314 Submitted 1 hour and 24 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 19. Swap the first and last columns
Solution 548313 Submitted 1 hour and 41 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1661. Circle area using pi
Solution 548312 Submitted 1 hour and 42 minutes ago by Hari Teja Reddy Peddi Reddy
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 548311 Submitted 1 hour and 42 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 147. Too mean-spirited
Solution 548310 Submitted 1 hour and 45 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 548309 Submitted 1 hour and 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 115. Distance walked 1D
Solution 548308 Submitted 1 hour and 51 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 548307 Submitted 1 hour and 58 minutes ago by dhiraj kumar
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 548305 Submitted 2 hours and 3 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 548304 Submitted 2 hours and 7 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 548303 Submitted 2 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.
25Size
0 Comments
Problem 109. Check if sorted
Solution 548302 Submitted 2 hours and 17 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 247. Arrange Vector in descending order
Solution 548301 Submitted 2 hours and 22 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
71Size
0 Comments
Problem 74. Balanced number
Solution 548300 Submitted 2 hours and 27 minutes ago by Alessandro
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 247. Arrange Vector in descending order
Solution 548299 Submitted 2 hours and 27 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
61Size
0 Comments
Problem 247. Arrange Vector in descending order
Solution 548298 Submitted 2 hours and 31 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 548297 Submitted 2 hours and 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 33. Create times-tables
Solution 548292 Submitted 3 hours and 1 minute ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2762. Concatenating strings
Solution 548291 Submitted 3 hours and 1 minute ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2763. Constructing strings
Solution 548290 Submitted 3 hours and 1 minute ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2747. Integer indexing array: Shift left
Solution 548289 Submitted 3 hours and 3 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2752. Concatenating arrays
Solution 548288 Submitted 3 hours and 5 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2756. Indexing the array: Shift right with variable sized arrays
Solution 548287 Submitted 3 hours and 6 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 2754. Indexing the last element: Print queue
Solution 548286 Submitted 3 hours and 7 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2729. Tree Height
Solution 548285 Submitted 3 hours and 8 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2744. Double colon operator: Increment by x
Solution 548284 Submitted 3 hours and 12 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 548283 Submitted 3 hours and 12 minutes ago by dhiraj kumar
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 548282 Submitted 3 hours and 13 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 2760. Relational operators and row arrays: Run times
Solution 548281 Submitted 3 hours and 13 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2757. Linear-spaced points array
Solution 548280 Submitted 3 hours and 14 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 2761. Comparing floating point values
Solution 548279 Submitted 3 hours and 16 minutes ago by Jean-Marie SAINTHILLIER
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 548278 Submitted 3 hours and 17 minutes ago by Hari Teja Reddy Peddi Reddy
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 548277 Submitted 3 hours and 18 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 2723. Multi-line comments
Solution 548276 Submitted 3 hours and 18 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 548275 Submitted 3 hours and 19 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2758. Relational operators: Guessing game
Solution 548274 Submitted 3 hours and 20 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 2714. Write an expression
Solution 548273 Submitted 3 hours and 21 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.