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.

18Size
0 Comments
Problem 120. radius of a spherical planet
Solution 898130 Submitted 47 minutes ago by Megulo Abebe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 304. Bottles of beer
Solution 898129 Submitted 49 minutes ago by Megulo Abebe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
58Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 898128 Submitted 51 minutes ago by Neil Coleman
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 898127 Submitted 52 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
65Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 898126 Submitted 52 minutes ago by Megulo Abebe
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 898125 Submitted 57 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 349. Back to basics 6 - Column Vector
Solution 898124 Submitted 57 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 349. Back to basics 6 - Column Vector
Solution 898123 Submitted 57 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 349. Back to basics 6 - Column Vector
Solution 898122 Submitted 58 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 898121 Submitted 1 hour and 1 minute 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 349. Back to basics 6 - Column Vector
Solution 898120 Submitted 1 hour and 1 minute 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 349. Back to basics 6 - Column Vector
Solution 898119 Submitted 1 hour and 1 minute 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 898118 Submitted 1 hour and 1 minute 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 349. Back to basics 6 - Column Vector
Solution 898117 Submitted 1 hour and 2 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 898116 Submitted 1 hour 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 23. Finding Perfect Squares
Solution 898115 Submitted 1 hour and 3 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 115. Distance walked 1D
Solution 898114 Submitted 1 hour and 28 minutes ago by Cameron Pierson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
68Size
0 Comments
Problem 37. Pascal's Triangle
Solution 898113 Submitted 1 hour and 34 minutes ago by Cameron Pierson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 898112 Submitted 1 hour and 41 minutes ago by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 660. Find a subset that divides the vector into equal halves
Solution 898111 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.
16Size
0 Comments
Problem 1661. Circle area using pi
Solution 898110 Submitted 1 hour and 42 minutes ago by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 20. Summing digits
Solution 898109 Submitted 1 hour and 43 minutes ago by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 109. Check if sorted
Solution 898108 Submitted 2 hours and 7 minutes ago by andrew robson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 42863. Replace values out of an interval with the lower or upper values
Solution 898107 Submitted 2 hours and 19 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.
9Size
0 Comments
Problem 1192. Say something funny
Solution 898106 Submitted 2 hours and 21 minutes ago by Berkay Dogus
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 898104 Submitted 2 hours and 24 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 129. All capital?
Solution 898103 Submitted 2 hours and 24 minutes ago by Berkay Dogus
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 898102 Submitted 2 hours 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 129. All capital?
Solution 898101 Submitted 2 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 23. Finding Perfect Squares
Solution 898100 Submitted 2 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 23. Finding Perfect Squares
Solution 898099 Submitted 2 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.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 898098 Submitted 2 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.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 898097 Submitted 2 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.
Incorrect
0 Comments
Problem 23. Finding Perfect Squares
Solution 898096 Submitted 2 hours and 29 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 351. Back to basics 8 - Matrix Diagonals
Solution 898095 Submitted 2 hours and 31 minutes ago by Berkay Dogus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 42863. Replace values out of an interval with the lower or upper values
Solution 898094 Submitted 2 hours and 32 minutes ago by Peng Liu
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 898093 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 23. Finding Perfect Squares
Solution 898092 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 23. Finding Perfect Squares
Solution 898091 Submitted 2 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 23. Finding Perfect Squares
Solution 898090 Submitted 2 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 250. Project Euler: Problem 10, Sum of Primes
Solution 898089 Submitted 2 hours and 37 minutes ago by Berkay Dogus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
84Size
0 Comments
Problem 660. Find a subset that divides the vector into equal halves
Solution 898088 Submitted 2 hours and 39 minutes ago by Berkay Dogus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
91Size
0 Comments
Problem 29. Nearest Numbers
Solution 898087 Submitted 2 hours and 41 minutes ago by Cameron Pierson
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 898086 Submitted 2 hours and 41 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 898085 Submitted 2 hours and 42 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
91Size
0 Comments
Problem 29. Nearest Numbers
Solution 898084 Submitted 2 hours and 42 minutes ago by Cameron Pierson
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 898083 Submitted 2 hours and 45 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 39. Which values occur exactly three times?
Solution 898082 Submitted 2 hours and 47 minutes ago by Shishir Patel
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 898081 Submitted 2 hours and 47 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 39. Which values occur exactly three times?
Solution 898080 Submitted 2 hours and 51 minutes ago by Shishir Patel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.