# Cody Solutions

Size refers to the number of nodes in a parse tree. Generally speaking, you can think of size as code length.

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