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.

23Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 435109 Submitted 2 minutes ago by Uriel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 33. Create times-tables
Solution 435108 Submitted 12 minutes ago by Uriel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 435106 Submitted 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 19. Swap the first and last columns
Solution 435101 Submitted 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 26. Determine if input is odd
Solution 435098 Submitted 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 26. Determine if input is odd
Solution 435093 Submitted 36 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 26. Determine if input is odd
Solution 435092 Submitted 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 7. Column Removal
Solution 435091 Submitted 40 minutes ago by Uriel
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 435090 Submitted 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 435086 Submitted 1 hour and 21 minutes ago by Andrew
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 435085 Submitted 1 hour and 22 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 8. Add two numbers
Solution 435082 Submitted 1 hour and 28 minutes ago by Andrew
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 435081 Submitted 1 hour and 29 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 32. Most nonzero elements in row
Solution 435078 Submitted 1 hour and 40 minutes ago by Uriel
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 435077 Submitted 1 hour and 43 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 943. "mirror" matrix
Solution 435071 Submitted 2 hours and 39 minutes ago by Andrew Newell
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 33. Create times-tables
Solution 435068 Submitted 3 hours and 12 minutes ago by Steven Feingold
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2018. Side of a rhombus
Solution 435045 Submitted 9 hours and 6 minutes ago by lucas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2018. Side of a rhombus
Solution 435044 Submitted 9 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.
21Size
0 Comments
Problem 2019. Dimensions of a rectangle
Solution 435037 Submitted 9 hours and 11 minutes ago by lucas
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2020. Area of an Isoceles Triangle
Solution 435035 Submitted 9 hours and 13 minutes ago by lucas
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 435026 Submitted 9 hours and 21 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 435012 Submitted 9 hours and 31 minutes ago by lucas
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 434975 Submitted 10 hours and 6 minutes ago
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 434969 Submitted 10 hours and 13 minutes ago by Steven Feingold
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 434966 Submitted 10 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.
26Size
0 Comments
Problem 94. Target sorting
Solution 434965 Submitted 10 hours and 16 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434962 Submitted 10 hours and 22 minutes ago by Steven Feingold
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434960 Submitted 10 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 10. Determine whether a vector is monotonically increasing
Solution 434958 Submitted 10 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.
25Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 434949 Submitted 11 hours and 11 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 434945 Submitted 11 hours and 35 minutes ago by Agent Cooper
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 434944 Submitted 11 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.
28Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 434943 Submitted 11 hours and 35 minutes ago by Agent Cooper
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 434941 Submitted 11 hours and 37 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 25. Remove any row in which a NaN appears
Solution 434933 Submitted 12 hours and 21 minutes ago by Kamil
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 434932 Submitted 12 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 33. Create times-tables
Solution 434916 Submitted 13 hours and 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434907 Submitted 13 hours and 35 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434906 Submitted 13 hours and 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434904 Submitted 13 hours and 42 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 434902 Submitted 13 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 10. Determine whether a vector is monotonically increasing
Solution 434901 Submitted 13 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 434885 Submitted 14 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.
29Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 434884 Submitted 14 hours and 58 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 19. Swap the first and last columns
Solution 434882 Submitted 14 hours and 59 minutes ago by Hassan Dehghani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 5. Triangle Numbers
Solution 434879 Submitted 15 hours and 2 minutes ago by Kamil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1559. COUNT VOWEL
Solution 434862 Submitted 16 hours and 23 minutes ago by Ziko
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1344. Moving average (variable kernel length)
Solution 434855 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 1344. Moving average (variable kernel length)
Solution 434854 Submitted 16 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.