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 1515. Procrustean bed
Solution 248030 Submitted 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 1515. Procrustean bed
Solution 248029 Submitted 52 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 1515. Procrustean bed
Solution 248028 Submitted 53 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 1515. Procrustean bed
Solution 248027 Submitted 55 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
40Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 248026 Submitted 1 hour and 14 minutes ago by arcturus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 4. Make a checkerboard matrix
Solution 248025 Submitted 1 hour and 15 minutes ago by arcturus
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 38. Return a list sorted by number of occurrences
Solution 248024 Submitted 1 hour and 49 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 38. Return a list sorted by number of occurrences
Solution 248023 Submitted 1 hour and 50 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
51Size
0 Comments
Problem 76. De-dupe
Solution 248022 Submitted 2 hours and 22 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 76. De-dupe
Solution 248019 Submitted 2 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 76. De-dupe
Solution 248018 Submitted 2 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 183. Pull the variable y_correct from the Caller's Workspace
Solution 248016 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 48. Making change
Solution 248015 Submitted 2 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.
13Size
0 Comments
Problem 8. Add two numbers
Solution 248014 Submitted 2 hours and 37 minutes ago by b
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 248013 Submitted 2 hours and 42 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1515. Procrustean bed
Solution 248012 Submitted 2 hours and 43 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 1515. Procrustean bed
Solution 248011 Submitted 2 hours and 43 minutes ago by Paul Berglund
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 129. All capital?
Solution 248010 Submitted 2 hours and 44 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 48. Making change
Solution 248009 Submitted 2 hours and 49 minutes ago
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 248008 Submitted 2 hours and 55 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
11Size
0 Comments
Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 248007 Submitted 2 hours and 57 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 1048. Detect a number and replace with two NaN's
Solution 248006 Submitted 3 hours and 2 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1511. Related Vectors
Solution 248005 Submitted 3 hours and 3 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1511. Related Vectors
Solution 248004 Submitted 3 hours and 3 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
16Size
0 Comments
Problem 1511. Related Vectors
Solution 248003 Submitted 3 hours and 4 minutes ago by b
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1048. Detect a number and replace with two NaN's
Solution 248002 Submitted 3 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.
12Size
0 Comments
Problem 1. Times 2 - START HERE
Solution 248001 Submitted 3 hours and 18 minutes ago by b
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 248000 Submitted 3 hours and 45 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 247999 Submitted 3 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.
43Size
0 Comments
Problem 21. Return the 3n+1 sequence for n
Solution 247998 Submitted 4 hours and 1 minute ago by Robert P
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 106. Weighted average
Solution 247997 Submitted 4 hours and 25 minutes ago by Robert P
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 247996 Submitted 4 hours and 29 minutes ago by Robert P
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 19. Swap the first and last columns
Solution 247995 Submitted 4 hours and 29 minutes ago by Robert P
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 247994 Submitted 4 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.
47Size
0 Comments
Problem 11. Back and Forth Rows
Solution 247993 Submitted 4 hours and 33 minutes ago by Robert P
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 247992 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 247990 Submitted 4 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.
Incorrect
0 Comments
Problem 26. Determine if input is odd
Solution 247989 Submitted 4 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.
12Size
0 Comments
Problem 3. Find the sum of all the numbers of the input vector
Solution 247988 Submitted 4 hours and 41 minutes ago by Jennifer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 5. Triangle Numbers
Solution 247987 Submitted 4 hours and 41 minutes ago by Jim
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 247986 Submitted 4 hours and 41 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 2. Make the vector [1 2 3 4 5 6 7 8 9 10]
Solution 247985 Submitted 4 hours and 42 minutes ago by Jennifer
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 247984 Submitted 4 hours and 44 minutes ago by Jennifer
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 149. Is my wife right?
Solution 247983 Submitted 4 hours and 44 minutes ago by Jim
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 247980 Submitted 5 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 26. Determine if input is odd
Solution 247978 Submitted 5 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.
34Size
0 Comments
Problem 6. Select every other element of a vector
Solution 247977 Submitted 5 hours and 16 minutes ago by Farag Zbeda
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 247976 Submitted 5 hours and 22 minutes ago by Ionut
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 247975 Submitted 5 hours and 23 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 247974 Submitted 5 hours and 37 minutes ago
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.