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.

25Size
0 Comments
Problem 240. Project Euler: Problem 6, Natural numbers, squares and sums.
Solution 507219 Submitted 27 minutes ago by Harish Maradana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 2609. If-then-else
Solution 507206 Submitted 2 hours and 3 minutes ago by Harish Maradana
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2610. counting for loop
Solution 507195 Submitted 2 hours and 22 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 1128. Simple return on investment
Solution 507186 Submitted 2 hours and 34 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 1128. Simple return on investment
Solution 507179 Submitted 2 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.
Incorrect
0 Comments
Problem 1128. Simple return on investment
Solution 507178 Submitted 2 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.
27Size
0 Comments
Problem 353. Back to basics 9 - Indexed References
Solution 507176 Submitted 3 hours and 50 minutes ago by Rahul Kalampattel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 507175 Submitted 3 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.
22Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 507156 Submitted 4 hours and 56 minutes ago by Rahul Kalampattel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 507153 Submitted 4 hours and 59 minutes ago by Rahul Kalampattel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 33. Create times-tables
Solution 507144 Submitted 5 hours and 15 minutes ago by Petra Machran
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 33. Create times-tables
Solution 507142 Submitted 5 hours and 18 minutes ago by Petra Machran
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 507140 Submitted 5 hours and 20 minutes ago by Petra Machran
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 164. Right and wrong
Solution 507139 Submitted 5 hours and 20 minutes ago by Rahul Kalampattel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 26. Determine if input is odd
Solution 507132 Submitted 5 hours and 35 minutes ago by August
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 314. Find the sum of the elements in the "second" diagonal
Solution 507126 Submitted 5 hours and 47 minutes ago by Rahul Kalampattel
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 507120 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 19. Swap the first and last columns
Solution 507118 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 19. Swap the first and last columns
Solution 507117 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.
Incorrect
0 Comments
Problem 4. Make a checkerboard matrix
Solution 507115 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.
26Size
0 Comments
Problem 2610. counting for loop
Solution 507114 Submitted 6 hours and 7 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.
23Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 507106 Submitted 6 hours and 29 minutes ago by Petra Machran
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 7. Column Removal
Solution 507103 Submitted 6 hours and 32 minutes ago by Petra Machran
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 507085 Submitted 8 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.
Incorrect
0 Comments
Problem 431. Sorting
Solution 507081 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.
24Size
0 Comments
Problem 57. Summing Digits within Text
Solution 507078 Submitted 8 hours and 46 minutes ago by Vishal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 57. Summing Digits within Text
Solution 507077 Submitted 8 hours and 46 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 57. Summing Digits within Text
Solution 507074 Submitted 8 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 57. Summing Digits within Text
Solution 507073 Submitted 8 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.
30Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 507069 Submitted 8 hours and 52 minutes ago by Haojun Yu
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 507067 Submitted 8 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.
25Size
0 Comments
Problem 2609. If-then-else
Solution 507054 Submitted 9 hours and 12 minutes ago by ABHILASH SINGH
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2609. If-then-else
Solution 507053 Submitted 9 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 2609. If-then-else
Solution 507052 Submitted 9 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 2609. If-then-else
Solution 507051 Submitted 9 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.
28Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 507050 Submitted 9 hours and 14 minutes ago by Haojun Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 57. Summing Digits within Text
Solution 507047 Submitted 9 hours and 16 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 33. Create times-tables
Solution 507042 Submitted 10 hours and 46 minutes ago by Haojun Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 507040 Submitted 10 hours and 50 minutes ago by Haojun Yu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 174. Roll the Dice!
Solution 507034 Submitted 12 hours and 1 minute ago by Luke
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 507032 Submitted 12 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.
22Size
0 Comments
Problem 233. Reverse the vector
Solution 507031 Submitted 12 hours and 6 minutes ago by Luke
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 507028 Submitted 12 hours and 14 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 189. Sum all integers from 1 to 2^n
Solution 507022 Submitted 12 hours and 25 minutes ago by Luke
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 507018 Submitted 12 hours and 28 minutes ago by Luke
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 506992 Submitted 16 hours and 43 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 32. Most nonzero elements in row
Solution 506981 Submitted 17 hours and 1 minute ago by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 506980 Submitted 17 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 14. Find the numeric mean of the prime numbers in a matrix.
Solution 506975 Submitted 17 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 25. Remove any row in which a NaN appears
Solution 506968 Submitted 17 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.