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.

28Size
0 Comments
Problem 53. Duplicates
Solution 494965 Submitted 46 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 53. Duplicates
Solution 494964 Submitted 50 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 64. The Goldbach Conjecture, Part 2
Solution 494963 Submitted 1 hour and 10 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 64. The Goldbach Conjecture, Part 2
Solution 494962 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.
46Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494961 Submitted 2 hours and 24 minutes ago by John Baek
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
73Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494960 Submitted 2 hours and 33 minutes ago by John Baek
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 87. Indexed Probability Table
Solution 494959 Submitted 2 hours and 35 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
105Size
0 Comments
Problem 51. Find the two most distant points
Solution 494958 Submitted 2 hours and 45 minutes ago by Dan
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 494957 Submitted 3 hours and 14 minutes ago by Paola
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 494956 Submitted 4 hours and 22 minutes ago by Michelle
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 494955 Submitted 4 hours and 23 minutes ago by Michelle
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 494954 Submitted 4 hours and 23 minutes ago by Michelle
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 494953 Submitted 4 hours and 25 minutes ago by Michelle
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 494951 Submitted 4 hours and 32 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 6. Select every other element of a vector
Solution 494950 Submitted 4 hours and 35 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 494949 Submitted 4 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 4. Make a checkerboard matrix
Solution 494948 Submitted 4 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 494945 Submitted 4 hours and 53 minutes ago by Cameron
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 494944 Submitted 4 hours and 57 minutes ago by Anathea Pepperl
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 494943 Submitted 5 hours and 18 minutes ago by Cameron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
99Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494942 Submitted 5 hours and 22 minutes ago by M
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
99Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494941 Submitted 5 hours and 22 minutes ago by M
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 494940 Submitted 5 hours and 22 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494939 Submitted 5 hours and 25 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 16. Return the largest number that is adjacent to a zero
Solution 494938 Submitted 5 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.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494937 Submitted 5 hours and 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 49. Sums with Excluded Digits
Solution 494936 Submitted 5 hours and 31 minutes ago by Dan
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 494935 Submitted 5 hours and 46 minutes ago by Keith
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 494933 Submitted 5 hours and 55 minutes ago by Keith
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 494932 Submitted 5 hours and 56 minutes ago by Keith
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 494931 Submitted 5 hours and 58 minutes ago by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494930 Submitted 5 hours and 59 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 16. Return the largest number that is adjacent to a zero
Solution 494929 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 494928 Submitted 6 hours and 17 minutes ago by Keith
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494927 Submitted 6 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.
Incorrect
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494926 Submitted 6 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 4. Make a checkerboard matrix
Solution 494925 Submitted 6 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.
76Size
0 Comments
Problem 47. Extract leading non-zero digit
Solution 494924 Submitted 6 hours and 57 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 115. Distance walked 1D
Solution 494923 Submitted 7 hours and 1 minute ago by M
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1815. 06 - Matrix Equations 3
Solution 494921 Submitted 7 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 1815. 06 - Matrix Equations 3
Solution 494920 Submitted 7 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 1814. 06 - Matrix Equations 2
Solution 494919 Submitted 7 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 1814. 06 - Matrix Equations 2
Solution 494918 Submitted 7 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 1814. 06 - Matrix Equations 2
Solution 494917 Submitted 7 hours and 16 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 1811. 05 - Vector Equations 3
Solution 494916 Submitted 7 hours and 26 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 1810. 05 - Vector Equations 2
Solution 494915 Submitted 7 hours and 29 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
53Size
0 Comments
Problem 1809. 05 - Vector Equations 1
Solution 494914 Submitted 7 hours and 34 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
57Size
0 Comments
Problem 1808. 04 - Scalar Equations 3
Solution 494913 Submitted 7 hours and 54 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1808. 04 - Scalar Equations 3
Solution 494912 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.
53Size
0 Comments
Problem 1808. 04 - Scalar Equations 3
Solution 494911 Submitted 7 hours and 56 minutes ago by Andreas Diechmann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.