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 189. Sum all integers from 1 to 2^n
Solution 571454 Submitted 2 minutes ago by Sandy Rogers
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 571453 Submitted 3 minutes ago by Karl Jenkins
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 571452 Submitted 4 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 235. Project Euler: Problem 4, Palindromic numbers
Solution 571451 Submitted 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 4. Make a checkerboard matrix
Solution 571450 Submitted 11 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 33. Create times-tables
Solution 571449 Submitted 12 minutes ago by Haokun Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 12. Fibonacci sequence
Solution 571448 Submitted 13 minutes ago by Haokun 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 12. Fibonacci sequence
Solution 571447 Submitted 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 26. Determine if input is odd
Solution 571446 Submitted 15 minutes ago by Karl Jenkins
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 571445 Submitted 16 minutes ago by Haokun 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 235. Project Euler: Problem 4, Palindromic numbers
Solution 571444 Submitted 16 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 571442 Submitted 17 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 19. Swap the first and last columns
Solution 571441 Submitted 20 minutes ago by Haokun 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 19. Swap the first and last columns
Solution 571440 Submitted 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 235. Project Euler: Problem 4, Palindromic numbers
Solution 571439 Submitted 30 minutes ago by bkzcnldw
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 571438 Submitted 37 minutes ago by patrick1704
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 571437 Submitted 38 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 571436 Submitted 38 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 571435 Submitted 40 minutes ago by patrick1704
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 235. Project Euler: Problem 4, Palindromic numbers
Solution 571434 Submitted 40 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 571433 Submitted 42 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 2909. Approximation of Pi (vector inputs)
Solution 571432 Submitted 47 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 2909. Approximation of Pi (vector inputs)
Solution 571431 Submitted 48 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 235. Project Euler: Problem 4, Palindromic numbers
Solution 571430 Submitted 48 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
44Size
0 Comments
Problem 2908. Approximation of Pi
Solution 571429 Submitted 52 minutes ago by patrick1704
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 571428 Submitted 52 minutes ago by Haokun 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 2908. Approximation of Pi
Solution 571427 Submitted 53 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 2908. Approximation of Pi
Solution 571426 Submitted 53 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 235. Project Euler: Problem 4, Palindromic numbers
Solution 571425 Submitted 54 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2908. Approximation of Pi
Solution 571424 Submitted 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 787. Path Optimization thru N words : Time Optimization
Solution 571420 Submitted 1 hour and 5 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 235. Project Euler: Problem 4, Palindromic numbers
Solution 571419 Submitted 1 hour and 8 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 235. Project Euler: Problem 4, Palindromic numbers
Solution 571418 Submitted 1 hour and 13 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 5. Triangle Numbers
Solution 571417 Submitted 1 hour and 15 minutes ago by Haokun Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 7. Column Removal
Solution 571416 Submitted 1 hour and 19 minutes ago by Haokun 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 2907. Collaborative Fun : Nomination
Solution 571415 Submitted 1 hour and 27 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 6. Select every other element of a vector
Solution 571414 Submitted 1 hour and 27 minutes ago by Haokun Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
1Size
0 Comments
Problem 2907. Collaborative Fun : Nomination
Solution 571413 Submitted 1 hour and 28 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
6128809Size
0 Comments
Problem 2907. Collaborative Fun : Nomination
Solution 571412 Submitted 1 hour and 30 minutes ago by J.R.! Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
3251402Size
0 Comments
Problem 2907. Collaborative Fun : Nomination
Solution 571411 Submitted 1 hour and 34 minutes ago by rifat ahmed
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 571410 Submitted 1 hour 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 6. Select every other element of a vector
Solution 571409 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.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 571408 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.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 571407 Submitted 1 hour and 44 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 26. Determine if input is odd
Solution 571406 Submitted 1 hour and 46 minutes ago by Haokun 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 2907. Collaborative Fun : Nomination
Solution 571405 Submitted 1 hour and 48 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 2907. Collaborative Fun : Nomination
Solution 571404 Submitted 1 hour and 49 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
1Size
1 Comment
Problem 2907. Collaborative Fun : Nomination
Solution 571403 Submitted 1 hour and 49 minutes ago by J.R.! Menzinger
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 8. Add two numbers
Solution 571402 Submitted 2 hours and 1 minute ago by Haokun Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
4345310Size
0 Comments
Problem 2907. Collaborative Fun : Nomination
Solution 571401 Submitted 2 hours and 4 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.