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 15. Find the longest sequence of 1's in a binary sequence.
Solution 502459 Submitted 11 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 502458 Submitted 30 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 2578. Sum of series IV
Solution 502457 Submitted 31 minutes ago by Paul Berglund
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 502456 Submitted 33 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 502455 Submitted 34 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 2577. Sum of series III
Solution 502454 Submitted 47 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 518. English to Pig Latin Translator
Solution 502453 Submitted 1 hour and 26 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 2576. Sum of series II
Solution 502452 Submitted 1 hour and 57 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2576. Sum of series II
Solution 502451 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.
68Size
1 Comment
Problem 753. Solitaire Cipher
Solution 502450 Submitted 2 hours and 52 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.
25Size
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 502449 Submitted 3 hours and 22 minutes ago by Caroline
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 502448 Submitted 3 hours and 23 minutes ago by Alessandro
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1663. Pizza value using expression with parentheses
Solution 502447 Submitted 3 hours and 27 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 106. Weighted average
Solution 502446 Submitted 3 hours and 31 minutes ago by Alessandro
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 502445 Submitted 3 hours and 50 minutes ago by chen
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 502444 Submitted 3 hours and 50 minutes ago by chen
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 502443 Submitted 3 hours and 52 minutes ago by chen
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 502442 Submitted 3 hours and 55 minutes ago by chen
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 502441 Submitted 3 hours and 57 minutes ago by Anuja
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 502440 Submitted 4 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 5. Triangle Numbers
Solution 502439 Submitted 4 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.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 502438 Submitted 4 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.
10Size
0 Comments
Problem 149. Is my wife right?
Solution 502437 Submitted 4 hours and 10 minutes ago by Anuja
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 502436 Submitted 4 hours and 12 minutes ago by Anuja
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 502435 Submitted 4 hours and 13 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 2595. Polite numbers. Politeness.
Solution 502434 Submitted 4 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.
Incorrect
0 Comments
Problem 2595. Polite numbers. Politeness.
Solution 502433 Submitted 4 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.
39Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 502432 Submitted 4 hours and 58 minutes ago by Nils
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 502431 Submitted 5 hours and 6 minutes ago by Nils
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 502429 Submitted 5 hours and 16 minutes ago by Nils
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 6. Select every other element of a vector
Solution 502428 Submitted 5 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 8. Add two numbers
Solution 502425 Submitted 5 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 8. Add two numbers
Solution 502424 Submitted 5 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 8. Add two numbers
Solution 502421 Submitted 5 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 502418 Submitted 5 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 3. Find the sum of all the numbers of the input vector
Solution 502414 Submitted 5 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 3. Find the sum of all the numbers of the input vector
Solution 502413 Submitted 5 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 502410 Submitted 5 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 502409 Submitted 5 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.
Incorrect
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 502408 Submitted 5 hours and 51 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 2592. LocateMembership | Membership of Matrix in another matrix
Solution 502407 Submitted 5 hours and 51 minutes ago by Jon
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 502406 Submitted 5 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.
44Size
0 Comments
Problem 2592. LocateMembership | Membership of Matrix in another matrix
Solution 502405 Submitted 5 hours and 56 minutes ago by Jon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
47Size
0 Comments
Problem 2592. LocateMembership | Membership of Matrix in another matrix
Solution 502403 Submitted 5 hours and 59 minutes ago by Jon
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 502402 Submitted 5 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 3. Find the sum of all the numbers of the input vector
Solution 502401 Submitted 5 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 3. Find the sum of all the numbers of the input vector
Solution 502400 Submitted 6 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.
18Size
0 Comments
Problem 2587. Find indices of diagonal elements
Solution 502399 Submitted 6 hours and 1 minute ago by Tim
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 502398 Submitted 6 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 3. Find the sum of all the numbers of the input vector
Solution 502397 Submitted 6 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.