Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB 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.

20Size
0 Comments
Problem 26. Determine if input is odd
Solution 925030 Submitted on 19 Jul 2016 at 9:11 by Dimitrij K.
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 925014 Submitted on 19 Jul 2016 at 7:52
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 925005 Submitted on 19 Jul 2016 at 6:58 by Rajkamal Kumar
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 924975 Submitted on 19 Jul 2016 at 5:24
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 924946 Submitted on 19 Jul 2016 at 4:18 by Hari sundar M
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 924796 Submitted on 18 Jul 2016 at 19:04 by James Mossner
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 924734 Submitted on 18 Jul 2016 at 17: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 26. Determine if input is odd
Solution 924713 Submitted on 18 Jul 2016 at 17: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 26. Determine if input is odd
Solution 924702 Submitted on 18 Jul 2016 at 17:16
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 10. Determine whether a vector is monotonically increasing
Solution 924584 Submitted on 18 Jul 2016 at 14:10 by Baldobin
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 95. Given two strings, find the maximum overlap
Solution 924570 Submitted on 18 Jul 2016 at 14:01
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 924554 Submitted on 18 Jul 2016 at 13:52
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 924536 Submitted on 18 Jul 2016 at 13:19
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 271. N-Cards Problem
Solution 924487 Submitted on 18 Jul 2016 at 12:49 by Stephanie O'Neil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 32. Most nonzero elements in row
Solution 924413 Submitted on 18 Jul 2016 at 10:40
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 924357 Submitted on 18 Jul 2016 at 7:22
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 924350 Submitted on 18 Jul 2016 at 7:12 by Theresa Ulbricht
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 26. Determine if input is odd
Solution 924333 Submitted on 18 Jul 2016 at 3:09 by Jyh Kim
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 924138 Submitted on 16 Jul 2016 at 20:51 by Connor Born
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 923997 Submitted on 16 Jul 2016 at 2:44
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 37. Pascal's Triangle
Solution 923901 Submitted on 15 Jul 2016 at 20:44 by Michele Scalseggi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1664. Lightning strike distance: Writing a function
Solution 923864 Submitted on 15 Jul 2016 at 19:20 by Katherine Sherrill
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 923580 Submitted on 15 Jul 2016 at 12:40 by Marco Pasquali
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 923579 Submitted on 15 Jul 2016 at 12:39 by Marco Pasquali
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 262. Swap the input arguments
Solution 923534 Submitted on 15 Jul 2016 at 11:54 by Kuruvilla Mani
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 262. Swap the input arguments
Solution 923533 Submitted on 15 Jul 2016 at 11:53
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 62. Elapsed Time
Solution 923516 Submitted on 15 Jul 2016 at 10:43 by Amir Parsian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 923296 Submitted on 14 Jul 2016 at 20:35 by Jonathan Cardoso
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 5. Triangle Numbers
Solution 923295 Submitted on 14 Jul 2016 at 20:35
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 923271 Submitted on 14 Jul 2016 at 19:52 by Noah Geller
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 106. Weighted average
Solution 923248 Submitted on 14 Jul 2016 at 19:26 by Daniel Zimmermann
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 1958. Add a row of zeros on top of a matrix
Solution 923199 Submitted on 14 Jul 2016 at 18:58 by Claudio Gelmi
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 923167 Submitted on 14 Jul 2016 at 18:51 by Aurik Sarker
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 923112 Submitted on 14 Jul 2016 at 15:54 by david he
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2606. Decrypt the cypher using XOR encryption (for beginners)
Solution 922979 Submitted on 14 Jul 2016 at 9:38
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 760. Duplicate each element of a vector.
Solution 922962 Submitted on 14 Jul 2016 at 8:09
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 922888 Submitted on 14 Jul 2016 at 2:36 by Aly Kandil
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2723. Multi-line comments
Solution 922745 Submitted on 13 Jul 2016 at 19:30 by Alireza Shourangiz Haghighi
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 922712 Submitted on 13 Jul 2016 at 18: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 141. Solve the Sudoku Row
Solution 922711 Submitted on 13 Jul 2016 at 18: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 6. Select every other element of a vector
Solution 922581 Submitted on 13 Jul 2016 at 13: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 174. Roll the Dice!
Solution 922361 Submitted on 13 Jul 2016 at 1:21
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 42561. While loop with multiple conditions
Solution 922359 Submitted on 13 Jul 2016 at 1:19 by Claudio Gelmi
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 922118 Submitted on 12 Jul 2016 at 19:37 by Dania Mallah
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 2729. Tree Height
Solution 922111 Submitted on 12 Jul 2016 at 19:32 by Claudio Gelmi
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 2510. Solving Quadratic Equations (Version 1)
Solution 922108 Submitted on 12 Jul 2016 at 19:29
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 922085 Submitted on 12 Jul 2016 at 18:49 by Jacob Burnett
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 922006 Submitted on 12 Jul 2016 at 15:59
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
20Size
0 Comments
Problem 5. Triangle Numbers
Solution 922002 Submitted on 12 Jul 2016 at 15:49 by Mark Emerson
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Incorrect
0 Comments
Problem 189. Sum all integers from 1 to 2^n
Solution 921963 Submitted on 12 Jul 2016 at 14:52
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.