Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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.

12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 927847 Submitted 3 minutes ago by Patrick Decker
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 106. Weighted average
Solution 927846 Submitted 5 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
76Size
0 Comments
Problem 12. Fibonacci sequence
Solution 927844 Submitted 7 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 23. Finding Perfect Squares
Solution 927843 Submitted 9 minutes ago by Mike
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 927842 Submitted 20 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 22. Remove the vowels
Solution 927841 Submitted 21 minutes ago by Mike
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 927840 Submitted 22 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 927839 Submitted 24 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 22. Remove the vowels
Solution 927838 Submitted 25 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 927837 Submitted 25 minutes ago by Ian McKeag
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 927836 Submitted 27 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 7. Column Removal
Solution 927835 Submitted 28 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 22. Remove the vowels
Solution 927834 Submitted 30 minutes ago by Mike
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 927833 Submitted 30 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 7. Column Removal
Solution 927832 Submitted 30 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 7. Column Removal
Solution 927831 Submitted 31 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 22. Remove the vowels
Solution 927830 Submitted 31 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
33Size
0 Comments
Problem 33. Create times-tables
Solution 927829 Submitted 31 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1400. Spiral Matrix
Solution 927828 Submitted 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 33. Create times-tables
Solution 927827 Submitted 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 26. Determine if input is odd
Solution 927826 Submitted 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 26. Determine if input is odd
Solution 927825 Submitted 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 26. Determine if input is odd
Solution 927824 Submitted 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927823 Submitted 38 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927822 Submitted 40 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
96Size
0 Comments
Problem 18. Bullseye Matrix
Solution 927821 Submitted 41 minutes ago by K
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 42546. Sum function: Counting cookies
Solution 927820 Submitted 42 minutes ago by Stephanie O'Neil
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 927819 Submitted 42 minutes ago by David Gottschalt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 42570. Modify an array's elements
Solution 927818 Submitted 42 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 236. newRMS
Solution 927817 Submitted 44 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 12. Fibonacci sequence
Solution 927816 Submitted 46 minutes ago by Yunpeng Wang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 7244. Times 3 problem
Solution 927815 Submitted 48 minutes ago by Stephanie O'Neil
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 927814 Submitted 48 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 2412. Is My Wife Wrong?
Solution 927812 Submitted 49 minutes ago by Stephanie O'Neil
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 927811 Submitted 49 minutes ago by Nick Harvey
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 403. Einsteinium-253 decay
Solution 927810 Submitted 49 minutes ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 403. Einsteinium-253 decay
Solution 927809 Submitted 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 26. Determine if input is odd
Solution 927807 Submitted 51 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 403. Einsteinium-253 decay
Solution 927806 Submitted 51 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 304. Bottles of beer
Solution 927805 Submitted 51 minutes ago by Ian McKeag
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 927804 Submitted 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 26. Determine if input is odd
Solution 927803 Submitted 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 26. Determine if input is odd
Solution 927802 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 26. Determine if input is odd
Solution 927801 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 26. Determine if input is odd
Solution 927800 Submitted 55 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 5. Triangle Numbers
Solution 927799 Submitted 57 minutes ago by Mike
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 927798 Submitted 58 minutes ago by Ian McKeag
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927797 Submitted 1 hour and 1 minute ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 1918. ベクトルのスケーリング
Solution 927796 Submitted 1 hour and 1 minute ago by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
31Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 927795 Submitted 1 hour and 2 minutes ago by Mike
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.