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 476644 Submitted 3 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 2233. Convert Fahrenheit to Celsius
Solution 476643 Submitted 9 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2233. Convert Fahrenheit to Celsius
Solution 476642 Submitted 11 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 476641 Submitted 12 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 115. Distance walked 1D
Solution 476640 Submitted 12 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 94. Target sorting
Solution 476639 Submitted 14 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 94. Target sorting
Solution 476638 Submitted 14 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 1380. Celcius to Kelvin
Solution 476637 Submitted 15 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1380. Celcius to Kelvin
Solution 476636 Submitted 17 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 12. Fibonacci sequence
Solution 476635 Submitted 19 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 1501. Try 1.5.4: Celsius to Fahrenheit
Solution 476634 Submitted 20 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 1129. Reverse the elements of an array
Solution 476633 Submitted 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
61Size
0 Comments
Problem 11. Back and Forth Rows
Solution 476632 Submitted 27 minutes ago by James
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 11. Back and Forth Rows
Solution 476631 Submitted 29 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 1188. The Answer to Life, the Universe, and Everything
Solution 476630 Submitted 30 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 431. Sorting
Solution 476629 Submitted 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 431. Sorting
Solution 476628 Submitted 33 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 476627 Submitted 35 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
62Size
0 Comments
Problem 116. Distance walked 2D
Solution 476626 Submitted 36 minutes ago by Vinod Sudheesh
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 476625 Submitted 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 2017. Side of an equilateral triangle
Solution 476624 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 2017. Side of an equilateral triangle
Solution 476623 Submitted 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 29. Nearest Numbers
Solution 476622 Submitted 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 476621 Submitted 43 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
86Size
0 Comments
Problem 75. Find the palindrome
Solution 476620 Submitted 43 minutes ago by Vinod Sudheesh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 476619 Submitted 44 minutes ago by Aarti Ghatkear
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 476618 Submitted 44 minutes ago by Aarti Ghatkear
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 75. Find the palindrome
Solution 476617 Submitted 44 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
218959Size
0 Comments
Problem 1192. Say something funny
Solution 476616 Submitted 46 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
218959Size
0 Comments
Problem 1192. Say something funny
Solution 476615 Submitted 46 minutes ago by santosh singh
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 476614 Submitted 46 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
175873Size
0 Comments
Problem 1192. Say something funny
Solution 476613 Submitted 47 minutes ago by santosh singh
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 476612 Submitted 50 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
84Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 476611 Submitted 50 minutes ago by Aarti Ghatkear
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 60. The Goldbach Conjecture
Solution 476610 Submitted 52 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 2457. Find 100 from a Matrix and Replace With 0 with less computation time
Solution 476609 Submitted 54 minutes ago by Grzegorz Knor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2457. Find 100 from a Matrix and Replace With 0 with less computation time
Solution 476608 Submitted 54 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 476607 Submitted 55 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 1046. Add two numbers
Solution 476606 Submitted 55 minutes ago by santosh singh
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 476605 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 29. Nearest Numbers
Solution 476604 Submitted 58 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 2454. birthday on same day of week
Solution 476603 Submitted 58 minutes ago by Grzegorz Knor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2016. Area of an equilateral triangle
Solution 476602 Submitted 59 minutes ago by santosh singh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 355. Back to basics 11 - Max Integer
Solution 476601 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 358. Who knows the last digit of pi?
Solution 476600 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.
53Size
0 Comments
Problem 53. Duplicates
Solution 476599 Submitted 1 hour and 3 minutes ago by Vinod Sudheesh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 358. Who knows the last digit of pi?
Solution 476598 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 358. Who knows the last digit of pi?
Solution 476597 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.
166Size
0 Comments
Problem 2442. Magnet and Iron
Solution 476596 Submitted 1 hour and 5 minutes ago by Marco Castelli
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 2430. Find the relation
Solution 476595 Submitted 1 hour and 8 minutes ago by Grzegorz Knor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.