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.

37Size
0 Comments
Problem 1323. Alternating sum
Solution 470978 Submitted 3 minutes ago by Vinod Sudheesh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1575. The sum of the numbers in the vector
Solution 470977 Submitted 5 minutes ago by Vinod Sudheesh
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 114. Check to see if a Sudoku Puzzle is Solved
Solution 470976 Submitted 6 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 1659. Fahrenheit to Celsius using multiple statements
Solution 470975 Submitted 6 minutes ago by mohammed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 114. Check to see if a Sudoku Puzzle is Solved
Solution 470974 Submitted 7 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 470972 Submitted 9 minutes ago by mohammed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1665. Create a row array using double colon operator
Solution 470971 Submitted 14 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 470970 Submitted 53 minutes ago by p.v
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 470969 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.
12Size
0 Comments
Problem 304. Bottles of beer
Solution 470968 Submitted 3 hours and 24 minutes ago by mohammed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 174. Roll the Dice!
Solution 470967 Submitted 3 hours and 28 minutes ago by mohammed
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 470966 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.
181Size
0 Comments
Problem 74. Balanced number
Solution 470965 Submitted 3 hours and 39 minutes ago by mohammed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 74. Balanced number
Solution 470964 Submitted 3 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.
14Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 470963 Submitted 4 hours and 13 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
58Size
0 Comments
Problem 112. Remove the air bubbles
Solution 470962 Submitted 4 hours and 16 minutes ago by Peter Cook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 112. Remove the air bubbles
Solution 470961 Submitted 4 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 112. Remove the air bubbles
Solution 470960 Submitted 4 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.
49Size
0 Comments
Problem 12. Fibonacci sequence
Solution 470959 Submitted 4 hours and 21 minutes ago by Giridhur S
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 12. Fibonacci sequence
Solution 470958 Submitted 4 hours and 23 minutes ago by Giridhur S
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 112. Remove the air bubbles
Solution 470957 Submitted 4 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.
18Size
0 Comments
Problem 167. Pizza!
Solution 470956 Submitted 4 hours and 24 minutes ago by Giridhur S
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 470955 Submitted 4 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 470954 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 470953 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 470952 Submitted 4 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.
Incorrect
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 470951 Submitted 4 hours and 28 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 5. Triangle Numbers
Solution 470949 Submitted 4 hours and 30 minutes ago by Giridhur S
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 470946 Submitted 4 hours and 32 minutes ago by Giridhur S
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 470945 Submitted 4 hours and 33 minutes ago by Giridhur S
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 470944 Submitted 4 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.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 470943 Submitted 4 hours and 36 minutes ago by Giridhur S
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 307. First non-zero element in each column
Solution 470940 Submitted 5 hours and 15 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 307. First non-zero element in each column
Solution 470939 Submitted 5 hours and 19 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
79Size
0 Comments
Problem 1048. Detect a number and replace with two NaN's
Solution 470938 Submitted 5 hours and 25 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
89Size
0 Comments
Problem 1048. Detect a number and replace with two NaN's
Solution 470937 Submitted 5 hours and 29 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 470936 Submitted 5 hours and 45 minutes ago by Ric
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 470935 Submitted 5 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 9. Who Has the Most Change?
Solution 470934 Submitted 5 hours and 55 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 1379. Fahrenheit to Celsius converter
Solution 470933 Submitted 5 hours and 58 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 470932 Submitted 6 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 9. Who Has the Most Change?
Solution 470931 Submitted 6 hours and 6 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
67Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 470930 Submitted 6 hours and 9 minutes ago by Alvery Grazebrook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2410. Determine the length of a string of characters
Solution 470929 Submitted 6 hours and 11 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
69Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 470928 Submitted 6 hours and 12 minutes ago by Alvery Grazebrook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2414. Mechanical Advantage of a Gear Train
Solution 470927 Submitted 6 hours and 14 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2414. Mechanical Advantage of a Gear Train
Solution 470926 Submitted 6 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.
14Size
0 Comments
Problem 2411. Largest Prime Number
Solution 470924 Submitted 6 hours and 21 minutes ago by Abdullah Caliskan
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
52Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 470923 Submitted 6 hours and 22 minutes ago by Alvery Grazebrook
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 9. Who Has the Most Change?
Solution 470922 Submitted 6 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.