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

New to MATLAB?

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 29. Nearest Numbers
Solution 696419 Submitted just now
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 105. How to find the position of an element in a vector without using the find function
Solution 696418 Submitted 32 minutes ago by Lawrence Johny
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 94. Target sorting
Solution 696417 Submitted 34 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 94. Target sorting
Solution 696416 Submitted 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 105. How to find the position of an element in a vector without using the find function
Solution 696415 Submitted 41 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
62Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 696414 Submitted 45 minutes ago by Ramoflaple
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 1661. Circle area using pi
Solution 696413 Submitted 47 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 1661. Circle area using pi
Solution 696412 Submitted 47 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 39. Which values occur exactly three times?
Solution 696411 Submitted 48 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
42Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 696410 Submitted 54 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 39. Which values occur exactly three times?
Solution 696409 Submitted 56 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 60. The Goldbach Conjecture
Solution 696408 Submitted 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 10. Determine whether a vector is monotonically increasing
Solution 696407 Submitted 1 hour 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 10. Determine whether a vector is monotonically increasing
Solution 696406 Submitted 1 hour 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 10. Determine whether a vector is monotonically increasing
Solution 696405 Submitted 1 hour and 8 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
35Size
0 Comments
Problem 60. The Goldbach Conjecture
Solution 696404 Submitted 1 hour and 9 minutes ago by Swapnil Kulkarni
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 696403 Submitted 1 hour and 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 28. Counting Money
Solution 696402 Submitted 1 hour and 10 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 5. Triangle Numbers
Solution 696400 Submitted 1 hour and 11 minutes ago by Hamish Tocher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 28. Counting Money
Solution 696399 Submitted 1 hour and 12 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 696398 Submitted 1 hour and 13 minutes ago by Hamish Tocher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 696397 Submitted 1 hour and 14 minutes ago by Hamish Tocher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 696396 Submitted 1 hour and 15 minutes ago by Hamish Tocher
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 696395 Submitted 1 hour and 15 minutes ago by Hamish Tocher
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 233. Reverse the vector
Solution 696393 Submitted 1 hour and 16 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1658. Simple equation: Annual salary
Solution 696392 Submitted 1 hour and 17 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 22. Remove the vowels
Solution 696391 Submitted 1 hour and 18 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 22. Remove the vowels
Solution 696390 Submitted 1 hour and 21 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 30. Sort a list of complex numbers based on far they are from the origin.
Solution 696389 Submitted 1 hour and 30 minutes ago by Swapnil Kulkarni
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 696388 Submitted 1 hour and 34 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
269Size
0 Comments
Problem 62. Elapsed Time
Solution 696387 Submitted 1 hour and 36 minutes ago by Ufuk Tamer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 62. Elapsed Time
Solution 696386 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.
44Size
0 Comments
Problem 9. Who Has the Most Change?
Solution 696385 Submitted 1 hour and 50 minutes ago by Swapnil Kulkarni
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 696384 Submitted 1 hour and 52 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 19. Swap the first and last columns
Solution 696383 Submitted 1 hour and 54 minutes ago by Ahmad Shalabi
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 696382 Submitted 1 hour and 55 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 696381 Submitted 1 hour and 55 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 696380 Submitted 1 hour and 55 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 696379 Submitted 1 hour and 56 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 696378 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.
14Size
0 Comments
Problem 109. Check if sorted
Solution 696377 Submitted 2 hours and 1 minute ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 62. Elapsed Time
Solution 696376 Submitted 2 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 109. Check if sorted
Solution 696375 Submitted 2 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.
14Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 696374 Submitted 2 hours and 5 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 62. Elapsed Time
Solution 696373 Submitted 2 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.
42Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 696372 Submitted 2 hours and 6 minutes ago by Swapnil Kulkarni
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 62. Elapsed Time
Solution 696371 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.
18Size
0 Comments
Problem 167. Pizza!
Solution 696370 Submitted 2 hours and 8 minutes ago by Ahmad Shalabi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 167. Pizza!
Solution 696369 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.
42Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 696368 Submitted 2 hours and 11 minutes ago by Ahmad Shalabi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.