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.

14Size
0 Comments
Problem 2204. Convert a vector of Integers into a matrix of binaries
Solution 549999 Submitted 19 minutes ago by Dariusz
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 173. Minefield Sonar
Solution 549998 Submitted 49 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 732. Justify the character string in center with proportional fonts
Solution 549997 Submitted 1 hour 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 1981. Time and Variable mapping and matching
Solution 549996 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.
Incorrect
0 Comments
Problem 1173. Binpack Contest: Retro - - Best Packing
Solution 549995 Submitted 2 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 863. Genome Sequence 001: Introductory DNA Sequencing
Solution 549994 Submitted 3 hours and 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
265Size
0 Comments
Problem 782. Some Assembly Required
Solution 549993 Submitted 3 hours and 9 minutes ago by rifat ahmed
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 1937. Get input and output variable names
Solution 549992 Submitted 7 hours and 33 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2677. Find out next state (NS) of T Flip-Flop.
Solution 549991 Submitted 8 hours and 1 minute ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
69Size
0 Comments
Problem 579. Spiral In
Solution 549990 Submitted 8 hours and 5 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2797. modular arithmetic
Solution 549989 Submitted 8 hours and 13 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 11. Back and Forth Rows
Solution 549988 Submitted 8 hours and 16 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
39Size
0 Comments
Problem 11. Back and Forth Rows
Solution 549987 Submitted 8 hours and 21 minutes ago by Sidafa
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 549986 Submitted 8 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.
39Size
0 Comments
Problem 11. Back and Forth Rows
Solution 549985 Submitted 8 hours and 22 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
10Size
0 Comments
Problem 2798. Beginner's Problem - Squaring
Solution 549984 Submitted 8 hours and 32 minutes ago by Jean-Marie SAINTHILLIER
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 13. Remove all the consonants
Solution 549983 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.
Incorrect
0 Comments
Problem 13. Remove all the consonants
Solution 549982 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.
16Size
0 Comments
Problem 14. Find the numeric mean of the prime numbers in a matrix.
Solution 549981 Submitted 8 hours and 59 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 549980 Submitted 9 hours and 4 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 19. Swap the first and last columns
Solution 549979 Submitted 9 hours and 35 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 19. Swap the first and last columns
Solution 549978 Submitted 9 hours and 36 minutes ago by Sidafa
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 2798. Beginner's Problem - Squaring
Solution 549977 Submitted 10 hours and 15 minutes ago by Ryan Vande Water
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution 549976 Submitted 11 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.
49Size
0 Comments
Problem 195. Program an exclusive OR operation with logical operators
Solution 549975 Submitted 11 hours and 48 minutes ago by Wenwu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 838. Check if number exists in vector
Solution 549974 Submitted 12 hours and 2 minutes ago by Wenwu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 129. All capital?
Solution 549973 Submitted 12 hours and 3 minutes ago by Wenwu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 129. All capital?
Solution 549972 Submitted 12 hours and 4 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 12. Fibonacci sequence
Solution 549971 Submitted 12 hours and 55 minutes ago by William
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 549970 Submitted 13 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 549969 Submitted 13 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.
Incorrect
0 Comments
Problem 12. Fibonacci sequence
Solution 549968 Submitted 13 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.
17Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 549967 Submitted 13 hours and 4 minutes ago by William
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 549966 Submitted 13 hours and 4 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 549965 Submitted 13 hours and 4 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 549964 Submitted 13 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 10. Determine whether a vector is monotonically increasing
Solution 549963 Submitted 13 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.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 549962 Submitted 13 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.
Incorrect
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 549961 Submitted 13 hours and 11 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 549960 Submitted 13 hours and 12 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
41Size
0 Comments
Problem 19. Swap the first and last columns
Solution 549959 Submitted 13 hours and 13 minutes ago by William
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 549958 Submitted 13 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.
Incorrect
0 Comments
Problem 19. Swap the first and last columns
Solution 549957 Submitted 13 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.
46Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 549956 Submitted 13 hours and 18 minutes ago by William
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 549955 Submitted 13 hours and 23 minutes ago by William
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 549954 Submitted 13 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.
17Size
0 Comments
Problem 5. Triangle Numbers
Solution 549953 Submitted 13 hours and 27 minutes ago by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 5. Triangle Numbers
Solution 549952 Submitted 13 hours and 28 minutes ago by William
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 549951 Submitted 13 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 5. Triangle Numbers
Solution 549950 Submitted 13 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.