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.

18Size
0 Comments
Problem 2661. Change Vector Value
Solution 523642 Submitted on 7 Nov 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
37Size
0 Comments
Problem 2639. How Many Months Until It's Today Again?
Solution 516274 Submitted on 23 Oct 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 2627. Convert to Binary Coded Decimal
Solution 514137 Submitted on 17 Oct 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 2357. Sort the vector with the given index
Solution 454265 Submitted on 12 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 2311. Vector Magnitude Calculator
Solution 450583 Submitted on 5 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
130Size
0 Comments
Problem 2346. Tic Tac Toe Solver
Solution 450567 Submitted on 5 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
135Size
0 Comments
Problem 2346. Tic Tac Toe Solver
Solution 450554 Submitted on 5 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 449993 Submitted on 4 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 2345. row-th maximum row elements
Solution 449930 Submitted on 4 Jun 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2274. Find the square of the sum of the digits of a number
Solution 429274 Submitted on 9 Apr 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 2202. Flip the bit
Solution 407643 Submitted on 21 Feb 2014 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
12Size
0 Comments
Problem 1879. Converting numbers back from extended form
Solution 320428 Submitted on 17 Sep 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 7. Column Removal
Solution 282214 Submitted on 15 Jul 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
28Size
0 Comments
Problem 1694. Now 20% off!
Solution 272891 Submitted on 3 Jul 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
32Size
0 Comments
Problem 1534. Sort (high on middle, low on ends)
Solution 264031 Submitted on 19 Jun 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
48Size
0 Comments
Problem 1634. Kurchan Square - Evaluation Function
Solution 261613 Submitted on 14 Jun 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
53Size
0 Comments
Problem 1634. Kurchan Square - Evaluation Function
Solution 261606 Submitted on 14 Jun 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1634. Kurchan Square - Evaluation Function
Solution 261426 Submitted on 14 Jun 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
206Size
0 Comments
Problem 1533. Criss-Cross Verification: NHL
Solution 253949 Submitted on 4 Jun 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1533. Criss-Cross Verification: NHL
Solution 253434 Submitted on 3 Jun 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1533. Criss-Cross Verification: NHL
Solution 253433 Submitted on 3 Jun 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1533. Criss-Cross Verification: NHL
Solution 253425 Submitted on 3 Jun 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1533. Criss-Cross Verification: NHL
Solution 253423 Submitted on 3 Jun 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 1407. Is it an Armstrong number?
Solution 228851 Submitted on 9 Apr 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
18Size
0 Comments
Problem 1194. Replace multiples of 5 with NaN
Solution 189967 Submitted on 11 Jan 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1164. Sum the Digits of a Number
Solution 189720 Submitted on 11 Jan 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1164. Sum the Digits of a Number
Solution 189719 Submitted on 11 Jan 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 1194. Replace multiples of 5 with NaN
Solution 189635 Submitted on 11 Jan 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 1193. Insert zeros into vector
Solution 189051 Submitted on 10 Jan 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1193. Insert zeros into vector
Solution 189050 Submitted on 10 Jan 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1162. Happy 2013...
Solution 185440 Submitted on 3 Jan 2013 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
13Size
0 Comments
Problem 1129. Reverse the elements of an array
Solution 179674 Submitted on 19 Dec 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
15Size
0 Comments
Problem 1125. Find out missing number from a vector of 9 elements
Solution 178966 Submitted on 18 Dec 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 1119. sum of non-primes
Solution 176612 Submitted on 12 Dec 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
36Size
0 Comments
Problem 1096. Largest Twin Primes
Solution 173786 Submitted on 6 Dec 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 1065. Make a 1 hot vector
Solution 170031 Submitted on 28 Nov 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1065. Make a 1 hot vector
Solution 169732 Submitted on 28 Nov 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
17Size
0 Comments
Problem 6. Select every other element of a vector
Solution 159729 Submitted on 9 Nov 2012 by Ned Gulley
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 157752 Submitted on 5 Nov 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
57Size
0 Comments
Problem 1019. Vector LCM
Solution 156636 Submitted on 1 Nov 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1019. Vector LCM
Solution 156635 Submitted on 1 Nov 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
54Size
0 Comments
Problem 1019. Vector LCM
Solution 156631 Submitted on 1 Nov 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 985. Make a Star Pyramid
Solution 147582 Submitted on 12 Oct 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 972. Set a diagonal
Solution 146662 Submitted on 10 Oct 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
34Size
0 Comments
Problem 972. Set a diagonal
Solution 146660 Submitted on 10 Oct 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
38Size
0 Comments
Problem 972. Set a diagonal
Solution 146659 Submitted on 10 Oct 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 918. Find the repeating decimal pattern!
Solution 129859 Submitted on 22 Aug 2012
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 865. Add more zeros
Solution 119168 Submitted on 26 Jul 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
14Size
0 Comments
Problem 824. Set the array elements whose value is 13 to 0
Solution 110472 Submitted on 11 Jul 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
19Size
0 Comments
Problem 813. Multiply 2 numbers
Solution 106795 Submitted on 5 Jul 2012 by Ned Gulley
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.