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.

Incorrect
0 Comments
Problem 84. Longest Divisor Run
Solution 821117 Submitted 1 minute 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 84. Longest Divisor Run
Solution 821116 Submitted 3 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 1554. Calculate the derivative of a polynomial
Solution 821115 Submitted 12 minutes ago by Gustave Udahemuka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
84Size
0 Comments
Problem 229. Fizz Buzz
Solution 821114 Submitted 15 minutes ago by Gustave Udahemuka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1790. 01 - Scalar variables
Solution 821113 Submitted 19 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1790. 01 - Scalar variables
Solution 821112 Submitted 21 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 1790. 01 - Scalar variables
Solution 821111 Submitted 22 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 410. Back to basics 20 - singleton dimensions
Solution 821110 Submitted 23 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 821108 Submitted 26 minutes ago by eggart
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 821107 Submitted 27 minutes ago by MZ
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 821106 Submitted 27 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 821104 Submitted 28 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 65. Word Counting and Indexing
Solution 821101 Submitted 31 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
82Size
0 Comments
Problem 65. Word Counting and Indexing
Solution 821100 Submitted 32 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 65. Word Counting and Indexing
Solution 821099 Submitted 33 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 821098 Submitted 56 minutes ago by Jaime Moya
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 46. Which doors are open?
Solution 821097 Submitted 1 hour and 27 minutes ago by Erik Zdansky
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 821096 Submitted 1 hour and 31 minutes ago by Nicholas Miller
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 821094 Submitted 1 hour and 35 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 1067. The Dark Side of the Die
Solution 821093 Submitted 1 hour and 45 minutes ago by Gustave Udahemuka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
68Size
0 Comments
Problem 198. Are you in or are you out?
Solution 821092 Submitted 1 hour and 55 minutes ago by Gustave Udahemuka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 198. Are you in or are you out?
Solution 821091 Submitted 2 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 198. Are you in or are you out?
Solution 821090 Submitted 2 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.
Incorrect
0 Comments
Problem 198. Are you in or are you out?
Solution 821089 Submitted 2 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.
44Size
0 Comments
Problem 46. Which doors are open?
Solution 821088 Submitted 2 hours and 35 minutes ago by Berkay Dogus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 2729. Tree Height
Solution 821087 Submitted 2 hours and 46 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2729. Tree Height
Solution 821082 Submitted 2 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.
47Size
0 Comments
Problem 2728. Coordinate geometry
Solution 821081 Submitted 2 hours and 52 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2728. Coordinate geometry
Solution 821080 Submitted 2 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.
31Size
0 Comments
Problem 2727. Population growth
Solution 821079 Submitted 2 hours and 54 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 821078 Submitted 2 hours and 56 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 821077 Submitted 2 hours and 59 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 2726. Function call in expression: Reduced pricing.
Solution 821076 Submitted 3 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.
Incorrect
0 Comments
Problem 2726. Function call in expression: Reduced pricing.
Solution 821075 Submitted 3 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.
35Size
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 821074 Submitted 3 hours and 6 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 2724. Function definition: Double down.
Solution 821066 Submitted 3 hours and 20 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2724. Function definition: Double down.
Solution 821065 Submitted 3 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 2724. Function definition: Double down.
Solution 821064 Submitted 3 hours and 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 2724. Function definition: Double down.
Solution 821063 Submitted 3 hours and 22 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 2723. Multi-line comments
Solution 821062 Submitted 3 hours and 23 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 2722. Comments
Solution 821059 Submitted 3 hours and 25 minutes ago by Kevin Shaw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2722. Comments
Solution 821058 Submitted 3 hours and 25 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 821057 Submitted 3 hours and 28 minutes ago by Charles Godreau
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 821056 Submitted 3 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.
37Size
0 Comments
Problem 1211. Create an 'arrow-head" matrix
Solution 821055 Submitted 3 hours and 39 minutes ago by Gustave Udahemuka
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 821054 Submitted 3 hours and 42 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 2725. Function definition: Volume of a pyramid
Solution 821053 Submitted 3 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 2725. Function definition: Volume of a pyramid
Solution 821052 Submitted 3 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 2725. Function definition: Volume of a pyramid
Solution 821051 Submitted 3 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.
Incorrect
0 Comments
Problem 2725. Function definition: Volume of a pyramid
Solution 821050 Submitted 3 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.