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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 503305 Submitted 1 hour 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 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 503304 Submitted 1 hour and 59 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 5. Triangle Numbers
Solution 503300 Submitted 2 hours and 5 minutes ago by Aaron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 7. Column Removal
Solution 503299 Submitted 2 hours and 8 minutes ago by Aaron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2587. Find indices of diagonal elements
Solution 503297 Submitted 4 hours and 9 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2587. Find indices of diagonal elements
Solution 503293 Submitted 4 hours and 21 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 2589. Find Elements in Range
Solution 503286 Submitted 4 hours and 43 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2589. Find Elements in Range
Solution 503285 Submitted 4 hours and 44 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2591. Does the coin touch the line?
Solution 503284 Submitted 4 hours and 49 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2591. Does the coin touch the line?
Solution 503283 Submitted 4 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.
25Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 503280 Submitted 5 hours and 6 minutes ago by Lauren Chon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2593. Polite numbers. N-th polite number.
Solution 503276 Submitted 5 hours and 39 minutes ago by Alfonso Nieto-Castanon
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 503275 Submitted 5 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.
21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 503272 Submitted 6 hours and 22 minutes ago by Lauren Chon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2597. Alternative Scoring. Create an incremental spiral.
Solution 503271 Submitted 6 hours and 22 minutes ago by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2593. Polite numbers. N-th polite number.
Solution 503268 Submitted 10 hours and 23 minutes ago by George Berken
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 503259 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.
Incorrect
0 Comments
Problem 1. Times 2 - START HERE
Solution 503249 Submitted 12 hours and 35 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 2574. Replacing a row
Solution 503248 Submitted 12 hours and 48 minutes ago by George Berken
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 676. Reindex a vector
Solution 503238 Submitted 14 hours and 47 minutes ago by Davi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 2597. Alternative Scoring. Create an incremental spiral.
Solution 503237 Submitted 14 hours and 55 minutes ago by Jan Orwat
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 503231 Submitted 15 hours and 56 minutes ago by Aleksandar Popovic
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 1442. Volume of a Simplex
Solution 503222 Submitted 17 hours and 38 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1070. Next Higher Power of B
Solution 503217 Submitted 21 hours and 43 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1070. Next Higher Power of B
Solution 503208 Submitted 21 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.
22Size
0 Comments
Problem 1557. factor to number
Solution 503207 Submitted 21 hours and 50 minutes ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1070. Next Higher Power of B
Solution 503206 Submitted 21 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.
30Size
0 Comments
Problem 2121. Find offset of given matrix element from first matrix element
Solution 503202 Submitted 22 hours and 1 minute ago by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2121. Find offset of given matrix element from first matrix element
Solution 503201 Submitted 22 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 2121. Find offset of given matrix element from first matrix element
Solution 503200 Submitted 22 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 1369. CONVERT TAN TO SIN
Solution 503186 Submitted 23 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.
29Size
0 Comments
Problem 1580. Number of odd and even elements within matrix
Solution 503180 Submitted 23 hours and 19 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1580. Number of odd and even elements within matrix
Solution 503178 Submitted 23 hours and 20 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 1271. THE CALCULATOR OF LOVE
Solution 503172 Submitted 23 hours and 35 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 1271. THE CALCULATOR OF LOVE
Solution 503171 Submitted 23 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.
22Size
0 Comments
Problem 1749. Factorial !
Solution 503169 Submitted 23 hours and 53 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 676. Reindex a vector
Solution 503166 Submitted on 20 Sep 2014 at 9:27
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1125. Find out missing number from a vector of 9 elements
Solution 503159 Submitted on 20 Sep 2014 at 8:14 by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 503154 Submitted on 20 Sep 2014 at 7:18 by Aaron
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 503153 Submitted on 20 Sep 2014 at 7:16
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 503152 Submitted on 20 Sep 2014 at 7:16
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 503151 Submitted on 20 Sep 2014 at 7:15
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 503147 Submitted on 20 Sep 2014 at 7:11 by Aaron
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 503146 Submitted on 20 Sep 2014 at 7:10
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 145. Increment a number, given its digits
Solution 503143 Submitted on 20 Sep 2014 at 7:05 by Pritesh Shah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2501. Whole Number Un-Concatenator
Solution 503134 Submitted on 20 Sep 2014 at 6:10 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2493. Must be in the front row...
Solution 503133 Submitted on 20 Sep 2014 at 6:06 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2493. Must be in the front row...
Solution 503128 Submitted on 20 Sep 2014 at 5:58
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2499. Airline Ticket Mod7 Checksum
Solution 503120 Submitted on 20 Sep 2014 at 5:40 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2581. Sum of series VII
Solution 503112 Submitted on 20 Sep 2014 at 5:27 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.