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 141. Solve the Sudoku Row
Solution 608068 Submitted 8 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.
12Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 608067 Submitted 9 hours and 7 minutes ago by Priyank Upadhyaya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 608066 Submitted 9 hours and 7 minutes ago by Priyank Upadhyaya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 608065 Submitted 9 hours and 7 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 1658. Simple equation: Annual salary
Solution 608064 Submitted 9 hours and 7 minutes ago by Priyank Upadhyaya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 22. Remove the vowels
Solution 608063 Submitted 9 hours and 9 minutes ago by Priyank Upadhyaya
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 608062 Submitted 9 hours and 16 minutes ago by Sand Day
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 608061 Submitted 9 hours and 17 minutes ago by Sand Day
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 608060 Submitted 9 hours and 17 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 608059 Submitted 9 hours and 33 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 273. Recurring Cycle Length (Inspired by Project Euler Problem 26)
Solution 608058 Submitted 9 hours and 50 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 273. Recurring Cycle Length (Inspired by Project Euler Problem 26)
Solution 608057 Submitted 9 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.
55Size
0 Comments
Problem 658. Find the biggest empty box
Solution 608056 Submitted 10 hours and 2 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 380. Convert a numerical matrix into a cell array of strings
Solution 608055 Submitted 10 hours and 2 minutes ago by Peng Liu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
90Size
0 Comments
Problem 51. Find the two most distant points
Solution 608054 Submitted 10 hours and 18 minutes ago by Pavan Toraty
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 405. Back to basics 15 - classes
Solution 608053 Submitted 10 hours and 18 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 528. Find the largest value in the 3D matrix
Solution 608052 Submitted 10 hours and 20 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
8Size
0 Comments
Problem 1230. Who is the smartest MATLAB programmer?
Solution 608051 Submitted 10 hours and 21 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 94. Target sorting
Solution 608050 Submitted 10 hours and 27 minutes ago by Alicia Aliaga Vicente
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 608049 Submitted 10 hours and 28 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 273. Recurring Cycle Length (Inspired by Project Euler Problem 26)
Solution 608048 Submitted 10 hours and 31 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 273. Recurring Cycle Length (Inspired by Project Euler Problem 26)
Solution 608047 Submitted 10 hours and 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 26. Determine if input is odd
Solution 608046 Submitted 10 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.
27Size
0 Comments
Problem 2509. Wind Chill Computation
Solution 608045 Submitted 10 hours and 34 minutes ago by LY Cao
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 608044 Submitted 10 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.
28Size
0 Comments
Problem 70. Alphabetize by last name
Solution 608043 Submitted 10 hours and 37 minutes ago by LY Cao
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 608042 Submitted 10 hours and 46 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608041 Submitted 10 hours and 47 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1035. Generate a vector like 1,2,2,3,3,3,4,4,4,4
Solution 608040 Submitted 10 hours and 47 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608039 Submitted 10 hours and 48 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 3. Find the sum of all the numbers of the input vector
Solution 608038 Submitted 10 hours and 49 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 608037 Submitted 10 hours and 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 1. Times 2 - START HERE
Solution 608036 Submitted 10 hours and 52 minutes ago by Sand Day
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 28. Counting Money
Solution 608035 Submitted 10 hours and 55 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 28. Counting Money
Solution 608034 Submitted 10 hours and 55 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 260. Create a function handle that reverses the input arguments of another function handle
Solution 608033 Submitted 11 hours and 3 minutes ago by Peng 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 51. Find the two most distant points
Solution 608032 Submitted 11 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.
10Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 608031 Submitted 11 hours and 13 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 164. Right and wrong
Solution 608030 Submitted 11 hours and 21 minutes ago by Alicia Aliaga Vicente
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
50Size
0 Comments
Problem 729. Flag largest magnitude swings as they occur
Solution 608029 Submitted 11 hours and 27 minutes ago by LY Cao
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2129. Sum of odd numbers in a matrix
Solution 608028 Submitted 11 hours and 27 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.
20Size
0 Comments
Problem 22. Remove the vowels
Solution 608027 Submitted 11 hours and 28 minutes ago by René
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 164. Right and wrong
Solution 608026 Submitted 11 hours and 28 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 2129. Sum of odd numbers in a matrix
Solution 608025 Submitted 11 hours and 28 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 22. Remove the vowels
Solution 608024 Submitted 11 hours and 29 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 2140. Alternately upper-lower case
Solution 608023 Submitted 11 hours and 31 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 729. Flag largest magnitude swings as they occur
Solution 608022 Submitted 11 hours and 31 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 729. Flag largest magnitude swings as they occur
Solution 608021 Submitted 11 hours and 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 729. Flag largest magnitude swings as they occur
Solution 608020 Submitted 11 hours and 39 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2797. modular arithmetic
Solution 608019 Submitted 11 hours and 46 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.