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 61. Find state names that end with the letter A
Solution 516781 Submitted 14 hours 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 61. Find state names that end with the letter A
Solution 516780 Submitted 14 hours 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 61. Find state names that end with the letter A
Solution 516779 Submitted 14 hours and 44 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 61. Find state names that end with the letter A
Solution 516778 Submitted 14 hours and 44 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 61. Find state names that end with the letter A
Solution 516777 Submitted 14 hours and 44 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 61. Find state names that end with the letter A
Solution 516776 Submitted 14 hours and 45 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 89. Counting in Finnish
Solution 516775 Submitted 14 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.
Incorrect
0 Comments
Problem 86. Renaming a field in a structure array
Solution 516774 Submitted 14 hours and 52 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 86. Renaming a field in a structure array
Solution 516773 Submitted 14 hours and 53 minutes ago
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 516772 Submitted 15 hours and 1 minute ago by Al
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 86. Renaming a field in a structure array
Solution 516771 Submitted 15 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.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 516770 Submitted 15 hours and 2 minutes ago by Al
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 516769 Submitted 15 hours and 4 minutes ago by Al
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
85Size
0 Comments
Problem 78. Implement a ROT13 cipher
Solution 516768 Submitted 15 hours and 5 minutes ago by Peter
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 516767 Submitted 15 hours and 8 minutes ago by Al
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 2607. Generate Square Wave
Solution 516766 Submitted 15 hours and 38 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.
172Size
0 Comments
Problem 2617. Yet Another Path Finder
Solution 516765 Submitted 15 hours and 47 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.
49Size
0 Comments
Problem 56. Scrabble Scores
Solution 516764 Submitted 15 hours and 51 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 516763 Submitted 15 hours and 59 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 31. Remove all the words that end with "ain"
Solution 516762 Submitted 16 hours and 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 31. Remove all the words that end with "ain"
Solution 516761 Submitted 16 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.
26Size
0 Comments
Problem 44. Trimming Spaces
Solution 516760 Submitted 16 hours and 14 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 46. Which doors are open?
Solution 516759 Submitted 16 hours and 26 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 46. Which doors are open?
Solution 516758 Submitted 16 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.
38Size
0 Comments
Problem 40. Reverse Run-Length Encoder
Solution 516757 Submitted 16 hours and 33 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 76. De-dupe
Solution 516755 Submitted 16 hours and 37 minutes ago by Peter
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 516754 Submitted 16 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.
11Size
0 Comments
Problem 355. Back to basics 11 - Max Integer
Solution 516753 Submitted 16 hours and 51 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 649. Return the first and last character of a string
Solution 516752 Submitted 16 hours and 53 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 62. Elapsed Time
Solution 516751 Submitted 16 hours and 54 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 121. surface of a spherical planet
Solution 516750 Submitted 16 hours and 55 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 121. surface of a spherical planet
Solution 516749 Submitted 16 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.
15Size
0 Comments
Problem 349. Back to basics 6 - Column Vector
Solution 516748 Submitted 16 hours and 57 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 109. Check if sorted
Solution 516747 Submitted 16 hours and 59 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 290. Make one big string out of two smaller strings
Solution 516746 Submitted 17 hours and 1 minute ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 290. Make one big string out of two smaller strings
Solution 516745 Submitted 17 hours and 1 minute ago by Shriramprasad Venkatesan
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 516744 Submitted 17 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.
22Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 516743 Submitted 17 hours and 2 minutes ago by Shriramprasad Venkatesan
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 516742 Submitted 17 hours 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 1665. Create a row array using double colon operator
Solution 516741 Submitted 17 hours and 5 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 1665. Create a row array using double colon operator
Solution 516740 Submitted 17 hours and 5 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 516739 Submitted 17 hours and 7 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 516738 Submitted 17 hours and 8 minutes ago by Shriramprasad Venkatesan
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 516737 Submitted 17 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.
16Size
0 Comments
Problem 262. Swap the input arguments
Solution 516736 Submitted 17 hours and 10 minutes ago by Shriramprasad Venkatesan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 516735 Submitted 17 hours and 11 minutes ago by Peter
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 262. Swap the input arguments
Solution 516734 Submitted 17 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 262. Swap the input arguments
Solution 516733 Submitted 17 hours and 12 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1661. Circle area using pi
Solution 516732 Submitted 17 hours and 14 minutes ago by Shriramprasad Venkatesan
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 516731 Submitted 17 hours and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.