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.

20Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 930120 Submitted 4 hours and 38 minutes ago by Kai Xiang
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 930119 Submitted 4 hours and 38 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2722. Comments
Solution 930047 Submitted 9 hours and 26 minutes ago by Ben Petschel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 57. Summing Digits within Text
Solution 929943 Submitted 15 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 7. Column Removal
Solution 929922 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.
Incorrect
0 Comments
Problem 33. Create times-tables
Solution 929822 Submitted 22 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.
Incorrect
0 Comments
Problem 46. Which doors are open?
Solution 929787 Submitted 23 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.
20Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 929677 Submitted on 29 Jul 2016 at 6:28 by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 37. Pascal's Triangle
Solution 929660 Submitted on 29 Jul 2016 at 5:41 by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2746. Integer indexing array: Weekend box office
Solution 929640 Submitted on 29 Jul 2016 at 5:08 by Ben Petschel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 929596 Submitted on 29 Jul 2016 at 3:37
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 929392 Submitted on 28 Jul 2016 at 17:26 by Anurag Kotha
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2429. Square Diagonal
Solution 929195 Submitted on 28 Jul 2016 at 12:47 by Atsushi Ueno
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 929160 Submitted on 28 Jul 2016 at 11:20
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 929134 Submitted on 28 Jul 2016 at 10:48 by Jakub Galecki
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 929046 Submitted on 28 Jul 2016 at 6:26
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 929007 Submitted on 28 Jul 2016 at 3:42 by Kai Xiang
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 929005 Submitted on 28 Jul 2016 at 3:41
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 928980 Submitted on 28 Jul 2016 at 0:51
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 106. Weighted average
Solution 928976 Submitted on 27 Jul 2016 at 23:07
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 928948 Submitted on 27 Jul 2016 at 22:02 by Pablo Rodriguez
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 928917 Submitted on 27 Jul 2016 at 21:30
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 928793 Submitted on 27 Jul 2016 at 18:42
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928789 Submitted on 27 Jul 2016 at 18:40 by Michel Surma
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 928765 Submitted on 27 Jul 2016 at 18:27
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 159. Figurate number triangle
Solution 928716 Submitted on 27 Jul 2016 at 17:54 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 26. Determine if input is odd
Solution 928594 Submitted on 27 Jul 2016 at 14:40
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 928580 Submitted on 27 Jul 2016 at 14:27 by Regan Stradtmann-Carvalho
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 928563 Submitted on 27 Jul 2016 at 14:17
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 928530 Submitted on 27 Jul 2016 at 13:36
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 928502 Submitted on 27 Jul 2016 at 13:16
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 928415 Submitted on 27 Jul 2016 at 12:04 by marcLu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 928366 Submitted on 27 Jul 2016 at 11:35 by Archita P
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 233. Reverse the vector
Solution 928295 Submitted on 27 Jul 2016 at 10:36
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 928234 Submitted on 27 Jul 2016 at 9:59
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 928233 Submitted on 27 Jul 2016 at 9:58
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 928229 Submitted on 27 Jul 2016 at 9:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928126 Submitted on 27 Jul 2016 at 8:59 by Marek Bula
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 928124 Submitted on 27 Jul 2016 at 8:58 by Marek Bula
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928029 Submitted on 27 Jul 2016 at 8:01
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 928013 Submitted on 27 Jul 2016 at 7:55
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 927989 Submitted on 27 Jul 2016 at 7:41 by Aleksander Sil
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 927634 Submitted on 26 Jul 2016 at 15:06
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 927526 Submitted on 26 Jul 2016 at 11:07
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2593. Polite numbers. N-th polite number.
Solution 927418 Submitted on 26 Jul 2016 at 8:08
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2056. Is this number Munchhausen Narcissistic?
Solution 927405 Submitted on 26 Jul 2016 at 8:02 by Martin
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 927384 Submitted on 26 Jul 2016 at 7:38
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 927383 Submitted on 26 Jul 2016 at 7:36
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 927382 Submitted on 26 Jul 2016 at 7:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 927302 Submitted on 25 Jul 2016 at 21:02 by Frances Buist
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.