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.

15Size
0 Comments
Problem 106. Weighted average
Solution 536614 Submitted 7 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
56Size
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 536613 Submitted 8 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 73. Replace NaNs with the number that appears to its left in the row.
Solution 536612 Submitted 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 106. Weighted average
Solution 536611 Submitted 9 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 106. Weighted average
Solution 536610 Submitted 11 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
103Size
0 Comments
Problem 71. Read a column of numbers and interpolate missing data
Solution 536609 Submitted 12 minutes ago by bkzcnldw
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 33. Create times-tables
Solution 536608 Submitted 13 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 536607 Submitted 13 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 33. Create times-tables
Solution 536606 Submitted 14 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 536605 Submitted 15 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 394. Convert String to Morse Code
Solution 536604 Submitted 16 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 135. inner product of two vectors
Solution 536603 Submitted 19 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 135. inner product of two vectors
Solution 536602 Submitted 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 135. inner product of two vectors
Solution 536601 Submitted 20 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 39. Which values occur exactly three times?
Solution 536600 Submitted 20 minutes ago by Luigi Sanguigno
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 536598 Submitted 22 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 536597 Submitted 22 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 536596 Submitted 23 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 12. Fibonacci sequence
Solution 536595 Submitted 26 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 536594 Submitted 27 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 536593 Submitted 27 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 158. Is my wife right? Now with even more wrong husband
Solution 536592 Submitted 28 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 304. Bottles of beer
Solution 536591 Submitted 29 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
81Size
0 Comments
Problem 35. Quote Doubler
Solution 536590 Submitted 31 minutes ago by Simon Stroebel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 12. Fibonacci sequence
Solution 536589 Submitted 32 minutes ago by Björn Skatt
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
56Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 536588 Submitted 33 minutes ago by Eleanor
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 536587 Submitted 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 35. Quote Doubler
Solution 536586 Submitted 58 minutes ago by Orion
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 35. Quote Doubler
Solution 536585 Submitted 59 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 2470. self description 2.0
Solution 536584 Submitted 1 hour and 3 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.
57Size
0 Comments
Problem 18. Bullseye Matrix
Solution 536582 Submitted 1 hour and 13 minutes ago by Yi Xuan Lieu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 26. Determine if input is odd
Solution 536581 Submitted 1 hour and 16 minutes ago by Prathap
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 128. Sorted highest to lowest?
Solution 536580 Submitted 1 hour and 19 minutes ago by Yi Xuan Lieu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 128. Sorted highest to lowest?
Solution 536579 Submitted 1 hour and 19 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 128. Sorted highest to lowest?
Solution 536578 Submitted 1 hour and 20 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 8. Add two numbers
Solution 536577 Submitted 1 hour and 23 minutes ago by Prathap
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 304. Bottles of beer
Solution 536576 Submitted 1 hour and 24 minutes ago by Yi Xuan Lieu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 34. Binary numbers
Solution 536575 Submitted 1 hour and 25 minutes ago by Simon Stroebel
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 536574 Submitted 1 hour and 32 minutes ago by Prathap
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 536573 Submitted 1 hour and 32 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 536572 Submitted 1 hour and 33 minutes ago by Prathap
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 536571 Submitted 1 hour and 36 minutes ago by Prathap
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 2685. FloydWarshall
Solution 536570 Submitted 1 hour and 48 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.
Incorrect
0 Comments
Problem 1018. Array GCD
Solution 536569 Submitted 1 hour and 57 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 2685. FloydWarshall
Solution 536568 Submitted 2 hours and 5 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.
10Size
0 Comments
Problem 2693. Test if a matrix is symmetric
Solution 536567 Submitted 2 hours and 6 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 2685. FloydWarshall
Solution 536566 Submitted 2 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.
Incorrect
0 Comments
Problem 2685. FloydWarshall
Solution 536565 Submitted 2 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.
Incorrect
0 Comments
Problem 174. Roll the Dice!
Solution 536564 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.
10Size
0 Comments
Problem 120. radius of a spherical planet
Solution 536563 Submitted 2 hours and 15 minutes ago by VIVEK RUHELA
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.