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.

Incorrect
0 Comments
Problem 61. Find state names that end with the letter A
Solution 318110 Submitted on 12 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318108 Submitted on 12 Sep 2013 by Pedro Villena
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318106 Submitted on 12 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 92. Find state names that start with the letter N
Solution 318105 Submitted on 12 Sep 2013 by Mayuri Patil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318104 Submitted on 12 Sep 2013 by Pedro Villena
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318103 Submitted on 12 Sep 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 141. Solve the Sudoku Row
Solution 318101 Submitted on 12 Sep 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 16. Return the largest number that is adjacent to a zero
Solution 318078 Submitted on 12 Sep 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 94. Target sorting
Solution 318077 Submitted on 12 Sep 2013 by RAHUL RANJAN
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 1811. 05 - Vector Equations 3
Solution 318070 Submitted on 12 Sep 2013 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 1820. 07 - Common functions and indexing 5
Solution 318069 Submitted on 12 Sep 2013 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1820. 07 - Common functions and indexing 5
Solution 318068 Submitted on 12 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
27Size
0 Comments
Problem 1819. 07 - Common functions and indexing 4
Solution 318067 Submitted on 12 Sep 2013 by Binbin Qi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
29Size
0 Comments
Problem 26. Determine if input is odd
Solution 318031 Submitted on 12 Sep 2013 by Kevin
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 318027 Submitted on 12 Sep 2013 by Kevin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318023 Submitted on 11 Sep 2013 by Gary
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318022 Submitted on 11 Sep 2013 by Gary
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 141. Solve the Sudoku Row
Solution 318021 Submitted on 11 Sep 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 722. Make a run-length companion vector
Solution 318013 Submitted on 11 Sep 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 41. Cell joiner
Solution 318008 Submitted on 11 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
22Size
0 Comments
Problem 646. Getting the row and column location from a matrix
Solution 317981 Submitted on 11 Sep 2013 by Jan Orwat
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 317975 Submitted on 11 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 76. De-dupe
Solution 317974 Submitted on 11 Sep 2013 by Benjamin
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 317973 Submitted on 11 Sep 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 19. Swap the first and last columns
Solution 317961 Submitted on 11 Sep 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 19. Swap the first and last columns
Solution 317960 Submitted on 11 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 291. Triangle Numbers Below N
Solution 317958 Submitted on 11 Sep 2013 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 291. Triangle Numbers Below N
Solution 317957 Submitted on 11 Sep 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 1119. sum of non-primes
Solution 317940 Submitted on 11 Sep 2013 by Michael Weidman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 545. Flip the main diagonal of a matrix
Solution 317925 Submitted on 11 Sep 2013 by Kevin Hellemans
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
21Size
0 Comments
Problem 139. Determine if a Given Number is a Triangle Number
Solution 317922 Submitted on 11 Sep 2013 by Michael Weidman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1726. Ohm's Law
Solution 317919 Submitted on 11 Sep 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 584. middleAsColumn: Return all but first and last element as a column vector
Solution 317918 Submitted on 11 Sep 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 584. middleAsColumn: Return all but first and last element as a column vector
Solution 317917 Submitted on 11 Sep 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 1585. Calculate the integral of the polynomial
Solution 317906 Submitted on 11 Sep 2013 by Rahul Shinde
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 1585. Calculate the integral of the polynomial
Solution 317905 Submitted on 11 Sep 2013
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
25Size
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 317903 Submitted on 11 Sep 2013 by Jan Orwat
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 451. Is this matrix orthogonal?
Solution 317902 Submitted on 11 Sep 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 7. Column Removal
Solution 317879 Submitted on 11 Sep 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 4. Make a checkerboard matrix
Solution 317877 Submitted on 11 Sep 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 134. Geometric series
Solution 317863 Submitted on 11 Sep 2013 by Michael Weidman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
24Size
0 Comments
Problem 762. Matrix which contains the values of an other matrix A at the given locations.
Solution 317846 Submitted on 11 Sep 2013 by Michael Weidman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 1529. Sum the numbers on the main diagonal
Solution 317838 Submitted on 11 Sep 2013 by Sumit Agrawal
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 54. Maximum running product for a string of numbers
Solution 317824 Submitted on 11 Sep 2013 by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
23Size
0 Comments
Problem 54. Maximum running product for a string of numbers
Solution 317821 Submitted on 11 Sep 2013 by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 54. Maximum running product for a string of numbers
Solution 317819 Submitted on 11 Sep 2013 by Andrew
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 54. Maximum running product for a string of numbers
Solution 317818 Submitted on 11 Sep 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 26. Determine if input is odd
Solution 317807 Submitted on 11 Sep 2013 by Purva
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
26Size
0 Comments
Problem 26. Determine if input is odd
Solution 317804 Submitted on 11 Sep 2013 by Purva
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
30Size
0 Comments
Problem 26. Determine if input is odd
Solution 317799 Submitted on 11 Sep 2013 by Purva
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.