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.

40Size
0 Comments
Problem 42567. Double summation
Solution 821678 Submitted 6 hours and 33 minutes ago by Kaitlin Katz
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 821676 Submitted 6 hours and 34 minutes ago by Justin Nguyen
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 821675 Submitted 6 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.
14Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 821673 Submitted 6 hours and 40 minutes ago by Pritom Kumar Mondal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 821672 Submitted 6 hours and 43 minutes ago by Pritom Kumar Mondal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 821671 Submitted 6 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.
28Size
0 Comments
Problem 42566. For loops: Odds sum
Solution 821670 Submitted 6 hours and 44 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 42565. For loops: Savings account
Solution 821669 Submitted 6 hours and 45 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 106. Weighted average
Solution 821668 Submitted 6 hours and 45 minutes ago by Pritom Kumar Mondal
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 821667 Submitted 6 hours and 47 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 106. Weighted average
Solution 821666 Submitted 6 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.
13Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 821663 Submitted 6 hours and 51 minutes ago by Barak Spritzer
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 821661 Submitted 6 hours and 53 minutes ago by Barak Spritzer
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 821660 Submitted 6 hours and 57 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 167. Pizza!
Solution 821659 Submitted 6 hours and 58 minutes ago by Pritom Kumar Mondal
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 821658 Submitted 7 hours and 1 minute ago by Pritom Kumar Mondal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 42564. While loop: Summation
Solution 821657 Submitted 7 hours and 4 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1052. Elapsed time is -0.005204 seconds.
Solution 821656 Submitted 7 hours and 5 minutes ago
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 821655 Submitted 7 hours and 8 minutes ago by Pritom Kumar Mondal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1052. Elapsed time is -0.005204 seconds.
Solution 821654 Submitted 7 hours and 9 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.
36Size
0 Comments
Problem 42563. Insect population
Solution 821653 Submitted 7 hours and 9 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 42563. Insect population
Solution 821651 Submitted 7 hours and 10 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42563. Insect population
Solution 821650 Submitted 7 hours and 11 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 821649 Submitted 7 hours and 13 minutes ago by Pritom Kumar Mondal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
69Size
0 Comments
Problem 1113. Create array of all Distances between two Sets of Points
Solution 821648 Submitted 7 hours and 29 minutes ago by Fabricio Trentini
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 42562. While loop with branching
Solution 821647 Submitted 7 hours and 30 minutes ago by Kaitlin Katz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42562. While loop with branching
Solution 821646 Submitted 7 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.
35Size
0 Comments
Problem 1116. Calculate the height of an object dropped from the sky
Solution 821644 Submitted 8 hours and 16 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 1116. Calculate the height of an object dropped from the sky
Solution 821643 Submitted 8 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.
Incorrect
0 Comments
Problem 8. Add two numbers
Solution 821642 Submitted 8 hours and 24 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 821641 Submitted 8 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.
33Size
0 Comments
Problem 555. "Low : High - Low : High - Turn around " -- Create a subindices vector
Solution 821640 Submitted 8 hours and 35 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 821639 Submitted 8 hours and 37 minutes ago by Eduard Silantyev
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1830. Matrix rotation as per given angle
Solution 821638 Submitted 8 hours and 39 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 855. How many monitors are connected ?
Solution 821637 Submitted 8 hours and 40 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 174. Roll the Dice!
Solution 821636 Submitted 8 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 821635 Submitted 8 hours and 44 minutes ago by Yan
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 821634 Submitted 8 hours and 45 minutes ago by Yan
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 821633 Submitted 8 hours and 46 minutes ago by Yan
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 821631 Submitted 9 hours and 13 minutes ago by Thomas Kavanagh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
90Size
0 Comments
Problem 650. Steal, Share, or Catch
Solution 821630 Submitted 9 hours and 25 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.
12Size
0 Comments
Problem 2755. Variable sized row arrays
Solution 821629 Submitted 9 hours and 33 minutes ago by eggart
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2751. Array resizing: Removing elements
Solution 821628 Submitted 9 hours and 35 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 2751. Array resizing: Removing elements
Solution 821627 Submitted 9 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.
23Size
0 Comments
Problem 2750. Logical indexing: High scores
Solution 821626 Submitted 9 hours and 42 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 2743. Double colon operator: Counting up
Solution 821625 Submitted 9 hours and 44 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 2758. Relational operators: Guessing game
Solution 821624 Submitted 9 hours and 45 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 325. 2 b | ~ 2 b
Solution 821623 Submitted 9 hours and 47 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 2728. Coordinate geometry
Solution 821621 Submitted 9 hours and 59 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 87. Indexed Probability Table
Solution 821620 Submitted 10 hours and 1 minute ago by Erik Zdansky
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.