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.

21Size
0 Comments
Problem 1659. Fahrenheit to Celsius using multiple statements
Solution 480073 Submitted on 29 Jul 2014 at 9:18 by Jasmine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 731. Given a window, how many subsets of a vector sum positive
Solution 480065 Submitted on 29 Jul 2014 at 9:11
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 27. Pangrams!
Solution 480064 Submitted on 29 Jul 2014 at 9:09
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 53. Duplicates
Solution 480056 Submitted on 29 Jul 2014 at 8:59 by Christopher Creutzig
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 157. The Hitchhiker's Guide to MATLAB
Solution 480055 Submitted on 29 Jul 2014 at 8:56 by Jasmine
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1168. Return 'on' or 'off'
Solution 480052 Submitted on 29 Jul 2014 at 8:45
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1168. Return 'on' or 'off'
Solution 480051 Submitted on 29 Jul 2014 at 8:45
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 25. Remove any row in which a NaN appears
Solution 480050 Submitted on 29 Jul 2014 at 8:44 by Kristina
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1168. Return 'on' or 'off'
Solution 480049 Submitted on 29 Jul 2014 at 8:42
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 480048 Submitted on 29 Jul 2014 at 8:39
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 158. Is my wife right? Now with even more wrong husband
Solution 480034 Submitted on 29 Jul 2014 at 7:33
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 480019 Submitted on 29 Jul 2014 at 7:25
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 480016 Submitted on 29 Jul 2014 at 7:25
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 480014 Submitted on 29 Jul 2014 at 7:23
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 42. Find the alphabetic word product
Solution 480013 Submitted on 29 Jul 2014 at 7:23
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 479984 Submitted on 29 Jul 2014 at 6:58
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 479983 Submitted on 29 Jul 2014 at 6:58
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 479981 Submitted on 29 Jul 2014 at 6:56
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 479980 Submitted on 29 Jul 2014 at 6:56
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN
Solution 479979 Submitted on 29 Jul 2014 at 6:54 by Kristina
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 479978 Submitted on 29 Jul 2014 at 6:54 by Brett
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 479975 Submitted on 29 Jul 2014 at 6:51
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 479967 Submitted on 29 Jul 2014 at 6:48
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 479939 Submitted on 29 Jul 2014 at 6:30
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 479929 Submitted on 29 Jul 2014 at 6:26
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 479924 Submitted on 29 Jul 2014 at 6:20
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 479923 Submitted on 29 Jul 2014 at 6:20
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 26. Determine if input is odd
Solution 479919 Submitted on 29 Jul 2014 at 6:18 by Anand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2468. Calculate the h-index
Solution 479910 Submitted on 29 Jul 2014 at 6:15
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 479904 Submitted on 29 Jul 2014 at 6:13 by Anand
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 26. Determine if input is odd
Solution 479899 Submitted on 29 Jul 2014 at 6:08 by Peter Babu
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 479896 Submitted on 29 Jul 2014 at 6:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 479895 Submitted on 29 Jul 2014 at 6:05 by Anand
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 479893 Submitted on 29 Jul 2014 at 6:04
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 479892 Submitted on 29 Jul 2014 at 6:04
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 479889 Submitted on 29 Jul 2014 at 5:56 by Peter Babu
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 479855 Submitted on 29 Jul 2014 at 3:57
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 479854 Submitted on 29 Jul 2014 at 3:53 by Peter Babu
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 479832 Submitted on 29 Jul 2014 at 0:54 by Philippe VJ
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 20. Summing digits
Solution 479828 Submitted on 28 Jul 2014 at 23:34 by Timegratos
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 479823 Submitted on 28 Jul 2014 at 22:12 by Helmuth
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 30. Sort a list of complex numbers based on far they are from the origin.
Solution 479803 Submitted on 28 Jul 2014 at 20:29 by Jordan
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 479802 Submitted on 28 Jul 2014 at 20:28
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 479800 Submitted on 28 Jul 2014 at 20:27
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 80. Test for balanced parentheses
Solution 479795 Submitted on 28 Jul 2014 at 20:17 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 10. Determine whether a vector is monotonically increasing
Solution 479786 Submitted on 28 Jul 2014 at 19:36
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 479784 Submitted on 28 Jul 2014 at 19:35
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 94. Target sorting
Solution 479767 Submitted on 28 Jul 2014 at 19:08 by Brian
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 479766 Submitted on 28 Jul 2014 at 19:07
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 479765 Submitted on 28 Jul 2014 at 19:06
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.