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.

12Size
0 Comments
Problem 290. Make one big string out of two smaller strings
Solution 481309 Submitted 5 hours and 5 minutes ago by Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
Solution 481308 Submitted 5 hours and 6 minutes ago by Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 481307 Submitted 5 hours and 17 minutes ago by Dennis
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 481306 Submitted 5 hours and 26 minutes ago by Sebastian
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 481305 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.
30Size
0 Comments
Problem 2455. Diagonal of a Spiral Matrix
Solution 481304 Submitted 5 hours and 31 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.
27Size
0 Comments
Problem 33. Create times-tables
Solution 481303 Submitted 5 hours and 33 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 481302 Submitted 5 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.
24Size
0 Comments
Problem 2476. Max change in consecutive elements of Array
Solution 481301 Submitted 5 hours and 47 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.
11Size
0 Comments
Problem 247. Arrange Vector in descending order
Solution 481300 Submitted 5 hours and 49 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 481299 Submitted 5 hours and 50 minutes ago by Georges
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 481298 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.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 481297 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.
14Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 481296 Submitted 6 hours and 5 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 481295 Submitted 6 hours and 6 minutes ago by Georges
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 481294 Submitted 6 hours 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 128. Sorted highest to lowest?
Solution 481293 Submitted 6 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 158. Is my wife right? Now with even more wrong husband
Solution 481292 Submitted 6 hours and 10 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 1661. Circle area using pi
Solution 481291 Submitted 6 hours and 11 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 19. Swap the first and last columns
Solution 481290 Submitted 6 hours and 11 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1661. Circle area using pi
Solution 481289 Submitted 6 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.
18Size
0 Comments
Problem 174. Roll the Dice!
Solution 481288 Submitted 6 hours and 12 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 481287 Submitted 6 hours and 15 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 481286 Submitted 6 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.
16Size
0 Comments
Problem 120. radius of a spherical planet
Solution 481285 Submitted 6 hours and 18 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 8. Add two numbers
Solution 481284 Submitted 6 hours and 18 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 120. radius of a spherical planet
Solution 481283 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.
26Size
0 Comments
Problem 12. Fibonacci sequence
Solution 481282 Submitted 6 hours and 19 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 262. Swap the input arguments
Solution 481281 Submitted 6 hours and 20 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 481280 Submitted 6 hours and 21 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 147. Too mean-spirited
Solution 481279 Submitted 6 hours and 25 minutes ago by Georges
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 481278 Submitted 6 hours and 30 minutes ago by Sebastian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 481277 Submitted 6 hours and 30 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2471. find the relation...
Solution 481276 Submitted 6 hours and 32 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 2471. find the relation...
Solution 481275 Submitted 6 hours and 32 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
135Size
0 Comments
Problem 660. Find a subset that divides the vector into equal halves
Solution 481274 Submitted 6 hours and 48 minutes ago by Georges
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 481273 Submitted 6 hours and 48 minutes ago by Esa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 481272 Submitted 6 hours and 48 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
197Size
0 Comments
Problem 660. Find a subset that divides the vector into equal halves
Solution 481271 Submitted 6 hours and 48 minutes ago by Georges
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 481270 Submitted 6 hours and 49 minutes ago by Esa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 26. Determine if input is odd
Solution 481269 Submitted 6 hours and 50 minutes ago by Esa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 481268 Submitted 6 hours and 52 minutes ago by Esa
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 481267 Submitted 6 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.
42Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 481266 Submitted 7 hours and 7 minutes ago by Esa
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 481265 Submitted 7 hours and 29 minutes ago by Esa
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 481264 Submitted 7 hours and 31 minutes ago by Esa
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 481263 Submitted 7 hours and 33 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 1. Times 2 - START HERE
Solution 481262 Submitted 7 hours and 34 minutes ago by Esa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2475. Find index of string having particular char ignoring case
Solution 481261 Submitted 7 hours and 41 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2475. Find index of string having particular char ignoring case
Solution 481260 Submitted 7 hours and 41 minutes ago by José Ramón Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.