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 9. Who Has the Most Change?
Solution 476419 Submitted 8 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.
27Size
0 Comments
Problem 2455. Diagonal of a Spiral Matrix
Solution 476418 Submitted 8 hours and 30 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 476417 Submitted 8 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.
29Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 476415 Submitted 8 hours and 31 minutes ago by James
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 476413 Submitted 8 hours and 32 minutes ago by Alfonso Nieto-Castanon
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 476410 Submitted 8 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.
28Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 476404 Submitted 8 hours and 48 minutes ago by Achim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 26. Determine if input is odd
Solution 476401 Submitted 8 hours and 51 minutes ago by Achim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 26. Determine if input is odd
Solution 476398 Submitted 8 hours and 56 minutes ago by Zhirui
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 476388 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 476386 Submitted 9 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.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 476383 Submitted 9 hours and 11 minutes ago by Zhirui
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 476361 Submitted 10 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.
20Size
0 Comments
Problem 304. Bottles of beer
Solution 476359 Submitted 11 hours and 24 minutes ago by Umakant
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 476357 Submitted 11 hours and 28 minutes ago by Alka
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 476335 Submitted 13 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.
26Size
0 Comments
Problem 2416. Let's see how peculiar we can get
Solution 476332 Submitted 16 hours and 2 minutes ago by George Berken
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 476323 Submitted 18 hours and 3 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 147. Too mean-spirited
Solution 476315 Submitted 18 hours and 35 minutes ago by Vue Sicker
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2447. Musical Note Interval 1 - Diatonic Scale
Solution 476290 Submitted 19 hours and 25 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.
25Size
0 Comments
Problem 2447. Musical Note Interval 1 - Diatonic Scale
Solution 476289 Submitted 19 hours and 26 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.
26Size
0 Comments
Problem 2443. Clear functions with the same name in different packages independently
Solution 476285 Submitted 19 hours and 35 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.
Incorrect
0 Comments
Problem 2443. Clear functions with the same name in different packages independently
Solution 476284 Submitted 19 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 2443. Clear functions with the same name in different packages independently
Solution 476283 Submitted 19 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.
28Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 476269 Submitted 19 hours and 57 minutes ago by William
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 476268 Submitted 19 hours and 59 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 476264 Submitted 20 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 10. Determine whether a vector is monotonically increasing
Solution 476263 Submitted 20 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 10. Determine whether a vector is monotonically increasing
Solution 476260 Submitted 20 hours and 13 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 1321. Given a 4x4 matrix, swap the two middle columns
Solution 476240 Submitted 20 hours and 39 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1025. Divisors of an integer
Solution 476230 Submitted 20 hours and 48 minutes ago by David
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 476228 Submitted 20 hours and 49 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 476226 Submitted 20 hours and 50 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 2138. union without repitition
Solution 476212 Submitted 20 hours and 57 minutes ago by David
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 476209 Submitted 20 hours and 58 minutes ago by David
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2449. Back to the future II
Solution 476204 Submitted 21 hours and 2 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.
29Size
0 Comments
Problem 2448. Back to the future
Solution 476203 Submitted 21 hours and 6 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.
Incorrect
0 Comments
Problem 2448. Back to the future
Solution 476202 Submitted 21 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.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 476201 Submitted 21 hours and 8 minutes ago by Larry
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2455. Diagonal of a Spiral Matrix
Solution 476187 Submitted 21 hours and 22 minutes ago by Tim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2448. Back to the future
Solution 476185 Submitted 21 hours and 33 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 476181 Submitted 21 hours and 51 minutes ago by RC
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 476173 Submitted 22 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 13. Remove all the consonants
Solution 476169 Submitted 22 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.
29Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 476168 Submitted 22 hours and 26 minutes ago by Ryan Grammenos
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 476167 Submitted 22 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.
22Size
0 Comments
Problem 1811. 05 - Vector Equations 3
Solution 476158 Submitted 23 hours and 2 minutes ago by Abdullah Caliskan
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 476154 Submitted 23 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 476151 Submitted 23 hours and 13 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 1958. Add a row of zeros on top of a matrix
Solution 476139 Submitted 23 hours and 24 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.