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.

Incorrect
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 494126 Submitted just now
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 11. Back and Forth Rows
Solution 494125 Submitted 5 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 34. Binary numbers
Solution 494124 Submitted 13 minutes ago by Bogdan Doroslovac
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 494123 Submitted 14 minutes ago by Michael Flammia
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 494122 Submitted 15 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 32. Most nonzero elements in row
Solution 494121 Submitted 15 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 34. Binary numbers
Solution 494120 Submitted 16 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 34. Binary numbers
Solution 494119 Submitted 16 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 494118 Submitted 17 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 494117 Submitted 18 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 494116 Submitted 19 minutes ago by Vanessa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 42. Find the alphabetic word product
Solution 494115 Submitted 21 minutes ago by Bogdan Doroslovac
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 494114 Submitted 22 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 494113 Submitted 24 minutes ago by Kasey
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 494112 Submitted 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 494111 Submitted 26 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 494110 Submitted 27 minutes ago by Vanessa
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 494109 Submitted 30 minutes ago by Vanessa
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 494108 Submitted 31 minutes ago by Vanessa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 494107 Submitted 31 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
45Size
0 Comments
Problem 41. Cell joiner
Solution 494106 Submitted 32 minutes ago by Bogdan Doroslovac
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 41. Cell joiner
Solution 494105 Submitted 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 494104 Submitted 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 41. Cell joiner
Solution 494103 Submitted 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 494102 Submitted 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 25. Remove any row in which a NaN appears
Solution 494101 Submitted 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 42. Find the alphabetic word product
Solution 494100 Submitted 38 minutes ago by Dan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
65Size
0 Comments
Problem 29. Nearest Numbers
Solution 494099 Submitted 40 minutes ago by Bogdan Doroslovac
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 494097 Submitted 44 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 494096 Submitted 44 minutes ago by Kasey
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 494095 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 29. Nearest Numbers
Solution 494094 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 29. Nearest Numbers
Solution 494093 Submitted 45 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 106. Weighted average
Solution 494092 Submitted 50 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 494091 Submitted 51 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 33. Create times-tables
Solution 494090 Submitted 53 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 494089 Submitted 54 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 12. Fibonacci sequence
Solution 494088 Submitted 55 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 12. Fibonacci sequence
Solution 494087 Submitted 55 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 12. Fibonacci sequence
Solution 494086 Submitted 56 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
58Size
0 Comments
Problem 18. Bullseye Matrix
Solution 494085 Submitted 59 minutes ago by Bogdan Doroslovac
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 494084 Submitted 1 hour and 3 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 19. Swap the first and last columns
Solution 494083 Submitted 1 hour and 7 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 18. Bullseye Matrix
Solution 494082 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.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 494081 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.
42Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 494080 Submitted 1 hour and 12 minutes ago by Kasey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 67. Find common elements in matrix rows
Solution 494079 Submitted 1 hour and 28 minutes ago by Daniel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 16. Return the largest number that is adjacent to a zero
Solution 494078 Submitted 1 hour and 30 minutes ago by Bogdan Doroslovac
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 67. Find common elements in matrix rows
Solution 494077 Submitted 1 hour 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 16. Return the largest number that is adjacent to a zero
Solution 494076 Submitted 1 hour and 30 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.