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

New to MATLAB?

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 147. Too mean-spirited
Solution 696670 Submitted 8 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.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 696669 Submitted 8 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.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 696668 Submitted 8 hours and 55 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 123. Tell me the slope
Solution 696667 Submitted 8 hours and 55 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 696666 Submitted 8 hours and 56 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 38. Return a list sorted by number of occurrences
Solution 696665 Submitted 8 hours and 57 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 696664 Submitted 8 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.
Incorrect
0 Comments
Problem 147. Too mean-spirited
Solution 696663 Submitted 8 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.
107Size
0 Comments
Problem 38. Return a list sorted by number of occurrences
Solution 696662 Submitted 9 hours and 3 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
115Size
0 Comments
Problem 38. Return a list sorted by number of occurrences
Solution 696661 Submitted 9 hours and 4 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2593. Polite numbers. N-th polite number.
Solution 696660 Submitted 9 hours and 9 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 696659 Submitted 9 hours and 21 minutes ago by Matthew Kishe
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 696658 Submitted 9 hours and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
63Size
0 Comments
Problem 40. Reverse Run-Length Encoder
Solution 696657 Submitted 9 hours and 25 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2061. Narcissistic number ?
Solution 696656 Submitted 9 hours and 26 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
63Size
0 Comments
Problem 40. Reverse Run-Length Encoder
Solution 696655 Submitted 9 hours and 29 minutes ago by Ufuk Tamer
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 696654 Submitted 9 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.
Incorrect
0 Comments
Problem 2017. Side of an equilateral triangle
Solution 696653 Submitted 9 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 2017. Side of an equilateral triangle
Solution 696652 Submitted 9 hours and 37 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 174. Roll the Dice!
Solution 696650 Submitted 9 hours and 51 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 696649 Submitted 9 hours and 52 minutes ago by Matt Gray
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 696648 Submitted 9 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.
12Size
0 Comments
Problem 412. Back to basics 22 - Rotate a matrix
Solution 696647 Submitted 9 hours and 54 minutes ago by Robb
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 696646 Submitted 9 hours and 54 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 304. Bottles of beer
Solution 696645 Submitted 9 hours and 55 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 120. radius of a spherical planet
Solution 696644 Submitted 9 hours and 55 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 355. Back to basics 11 - Max Integer
Solution 696643 Submitted 9 hours and 56 minutes ago by Robb
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 696642 Submitted 9 hours and 57 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 696641 Submitted 9 hours and 57 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 696640 Submitted 9 hours and 57 minutes ago by Robb
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
45Size
0 Comments
Problem 139. Determine if a Given Number is a Triangle Number
Solution 696639 Submitted 10 hours and 4 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 139. Determine if a Given Number is a Triangle Number
Solution 696638 Submitted 10 hours and 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
75Size
0 Comments
Problem 18. Bullseye Matrix
Solution 696637 Submitted 10 hours and 9 minutes ago by Matt Gray
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 18. Bullseye Matrix
Solution 696636 Submitted 10 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.
58Size
0 Comments
Problem 42417. Divisible by 15
Solution 696635 Submitted 10 hours and 22 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42417. Divisible by 15
Solution 696634 Submitted 10 hours and 23 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
63Size
0 Comments
Problem 42417. Divisible by 15
Solution 696633 Submitted 10 hours and 26 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42417. Divisible by 15
Solution 696632 Submitted 10 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.
Incorrect
0 Comments
Problem 42417. Divisible by 15
Solution 696631 Submitted 10 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.
50Size
0 Comments
Problem 166. Kaprekar numbers
Solution 696630 Submitted 10 hours and 47 minutes ago by Antoine
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 696629 Submitted 10 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.
58Size
0 Comments
Problem 166. Kaprekar numbers
Solution 696628 Submitted 10 hours and 49 minutes ago by Antoine
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 696627 Submitted 10 hours and 55 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 156. Parasitic numbers
Solution 696626 Submitted 10 hours and 57 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2733. Evil Number
Solution 696625 Submitted 10 hours and 58 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2733. Evil Number
Solution 696624 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.
37Size
0 Comments
Problem 2733. Evil Number
Solution 696623 Submitted 10 hours and 59 minutes ago by Antoine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 156. Parasitic numbers
Solution 696622 Submitted 11 hours and 1 minute ago by Antoine
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 696621 Submitted 11 hours 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 2017. Side of an equilateral triangle
Solution 696620 Submitted 11 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.