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.

37Size
0 Comments
Problem 42913. Pseudo Square Root (Inspired by Project Euler 266)
Solution 930131 Submitted 20 minutes ago by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 290. Make one big string out of two smaller strings
Solution 930130 Submitted 1 hour and 23 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 290. Make one big string out of two smaller strings
Solution 930129 Submitted 1 hour and 24 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
72Size
0 Comments
Problem 48. Making change
Solution 930128 Submitted 1 hour and 31 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 48. Making change
Solution 930127 Submitted 1 hour and 39 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 48. Making change
Solution 930126 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.
51Size
0 Comments
Problem 76. De-dupe
Solution 930125 Submitted 1 hour and 46 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 76. De-dupe
Solution 930124 Submitted 1 hour and 47 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 247. Arrange Vector in descending order
Solution 930123 Submitted 1 hour and 55 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 930122 Submitted 1 hour and 56 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 120. radius of a spherical planet
Solution 930121 Submitted 2 hours and 2 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 930120 Submitted 2 hours and 3 minutes ago by Kai Xiang
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 930119 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.
46Size
0 Comments
Problem 46. Which doors are open?
Solution 930118 Submitted 2 hours and 18 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 46. Which doors are open?
Solution 930117 Submitted 2 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.
Incorrect
0 Comments
Problem 46. Which doors are open?
Solution 930116 Submitted 2 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.
31Size
0 Comments
Problem 28. Counting Money
Solution 930115 Submitted 2 hours and 32 minutes ago by Kai Xiang
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 930114 Submitted 2 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 28. Counting Money
Solution 930113 Submitted 2 hours and 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 28. Counting Money
Solution 930112 Submitted 2 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.
Incorrect
0 Comments
Problem 28. Counting Money
Solution 930111 Submitted 2 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.
17Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 930110 Submitted 2 hours and 57 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 930109 Submitted 2 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.
47Size
0 Comments
Problem 74. Balanced number
Solution 930108 Submitted 3 hours and 1 minute ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 74. Balanced number
Solution 930107 Submitted 3 hours and 2 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 135. inner product of two vectors
Solution 930106 Submitted 3 hours and 11 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 135. inner product of two vectors
Solution 930105 Submitted 3 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.
10Size
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 930104 Submitted 3 hours and 12 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 930103 Submitted 3 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 158. Is my wife right? Now with even more wrong husband
Solution 930102 Submitted 3 hours and 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 930101 Submitted 3 hours and 33 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 930100 Submitted 3 hours and 34 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 73. Replace NaNs with the number that appears to its left in the row.
Solution 930099 Submitted 3 hours and 34 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 35. Quote Doubler
Solution 930098 Submitted 3 hours and 42 minutes ago by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 35. Quote Doubler
Solution 930097 Submitted 3 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 6. Select every other element of a vector
Solution 930096 Submitted 4 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 6. Select every other element of a vector
Solution 930095 Submitted 4 hours and 23 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 930094 Submitted 4 hours and 29 minutes ago by Samnang Dona An
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 930093 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.
19Size
0 Comments
Problem 7. Column Removal
Solution 930092 Submitted 4 hours and 41 minutes ago by Samnang Dona An
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 930091 Submitted 4 hours and 54 minutes ago by Samnang Dona An
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 930090 Submitted 4 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 26. Determine if input is odd
Solution 930089 Submitted 4 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 930088 Submitted 5 hours and 1 minute ago by Samnang Dona An
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 930087 Submitted 5 hours and 2 minutes ago by Samnang Dona An
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 930086 Submitted 5 hours and 3 minutes ago by Samnang Dona An
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 930085 Submitted 5 hours and 5 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 23. Finding Perfect Squares
Solution 930084 Submitted 5 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.
34Size
0 Comments
Problem 109. Check if sorted
Solution 930083 Submitted 5 hours and 43 minutes ago by Samnang Dona An
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 109. Check if sorted
Solution 930082 Submitted 5 hours and 44 minutes ago by Samnang Dona An
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.