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 1. Times 2 - START HERE
Solution 917574 Submitted 18 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 917573 Submitted 30 minutes ago by Amir Parsian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 60. The Goldbach Conjecture
Solution 917572 Submitted 32 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 917571 Submitted 33 minutes ago by Amir Parsian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
59Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 917570 Submitted 34 minutes ago by Amir Parsian
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 917569 Submitted 42 minutes ago by Markus Sallila
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 2024. Triangle sequence
Solution 917568 Submitted 57 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 413. Back to basics 23 - Triangular matrix
Solution 917567 Submitted 1 hour and 10 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2016. Area of an equilateral triangle
Solution 917566 Submitted 1 hour and 14 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2740. Arithmetic array operations
Solution 917565 Submitted 1 hour and 17 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2022. Find a Pythagorean triple
Solution 917564 Submitted 1 hour and 31 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 2720. Logic variables
Solution 917563 Submitted 1 hour and 36 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 605. Whether the input is vector?
Solution 917562 Submitted 1 hour and 37 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 605. Whether the input is vector?
Solution 917561 Submitted 1 hour and 38 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 605. Whether the input is vector?
Solution 917560 Submitted 1 hour and 38 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 917559 Submitted 1 hour and 45 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 917558 Submitted 1 hour and 50 minutes ago by kyungsoo jung
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 917557 Submitted 1 hour and 51 minutes ago by kyungsoo jung
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 148. Factorize THIS, buddy
Solution 917556 Submitted 1 hour and 56 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 148. Factorize THIS, buddy
Solution 917555 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.
52Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 917554 Submitted 1 hour and 59 minutes ago by JoseP
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
43Size
0 Comments
Problem 87. Indexed Probability Table
Solution 917553 Submitted 2 hours and 7 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 87. Indexed Probability Table
Solution 917552 Submitted 2 hours and 8 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 87. Indexed Probability Table
Solution 917551 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.
46Size
0 Comments
Problem 12. Fibonacci sequence
Solution 917550 Submitted 2 hours and 10 minutes ago by Diana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 87. Indexed Probability Table
Solution 917549 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.
46Size
0 Comments
Problem 12. Fibonacci sequence
Solution 917548 Submitted 2 hours and 12 minutes ago by Diana
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 917547 Submitted 2 hours and 12 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 12. Fibonacci sequence
Solution 917546 Submitted 2 hours and 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 12. Fibonacci sequence
Solution 917545 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 917544 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 917543 Submitted 2 hours and 18 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 12. Fibonacci sequence
Solution 917542 Submitted 2 hours and 19 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
60Size
0 Comments
Problem 15. Find the longest sequence of 1's in a binary sequence.
Solution 917541 Submitted 2 hours and 20 minutes ago by YOU FUU
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 917540 Submitted 2 hours and 21 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 15. Find the longest sequence of 1's in a binary sequence.
Solution 917539 Submitted 2 hours and 23 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 42897. Alkenes molar mass
Solution 917538 Submitted 2 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.
Incorrect
0 Comments
Problem 42899. add all intergers
Solution 917537 Submitted 2 hours and 31 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 2741. Indexing an array element
Solution 917536 Submitted 2 hours and 54 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2741. Indexing an array element
Solution 917535 Submitted 2 hours and 54 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
58Size
0 Comments
Problem 11. Back and Forth Rows
Solution 917534 Submitted 4 hours and 8 minutes ago by JoseP
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 619. Multiply a column by a row
Solution 917533 Submitted 4 hours and 14 minutes ago by YOU FUU
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 917532 Submitted 4 hours and 15 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 5. Triangle Numbers
Solution 917531 Submitted 4 hours and 16 minutes ago by John D'Errico
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 180. Omit columns averages from a matrix
Solution 917530 Submitted 4 hours and 17 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 411. Back to basics 21 - Matrix replicating
Solution 917529 Submitted 4 hours and 25 minutes ago by YOU FUU
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 411. Back to basics 21 - Matrix replicating
Solution 917528 Submitted 4 hours and 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 917527 Submitted 4 hours and 27 minutes ago by John D'Errico
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 917526 Submitted 4 hours and 29 minutes ago by John D'Errico
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 2021. Is this triangle right-angled?
Solution 917525 Submitted 4 hours and 30 minutes ago by John D'Errico
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.