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

Learn moreOpportunities for recent engineering grads.

Apply TodaySearch 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.

96Size

0 Comments

Problem 4. Make a checkerboard matrix

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

20Size

0 Comments

44Size

0 Comments

Problem 9. Who Has the Most Change?

11Size

0 Comments

Problem 2. Make the vector [1 2 3 4 5 6 7 8 9 10]

12Size

0 Comments

Problem 1. Times 2 - START HERE

65Size

0 Comments

Problem 32. Most nonzero elements in row

Incorrect

0 Comments

12Size

0 Comments

17Size

0 Comments

Problem 5. Triangle Numbers

39Size

0 Comments

Problem 7. Column Removal

Incorrect

0 Comments

Incorrect

0 Comments

39Size

0 Comments

Problem 6. Select every other element of a vector

37Size

0 Comments

Problem 459. Sum of diagonal of a square matrix

Incorrect

0 Comments

Incorrect

0 Comments

73Size

0 Comments

Problem 21. Return the 3n+1 sequence for n

24Size

0 Comments

Problem 26. Determine if input is odd

41Size

0 Comments

Problem 106. Weighted average

26Size

0 Comments

Problem 3. Find the sum of all the numbers of the input vector

36Size

0 Comments

Problem 115. Distance walked 1D

13Size

0 Comments

50Size

0 Comments

Problem 233. Reverse the vector

21Size

0 Comments

31Size

0 Comments

Problem 105. How to find the position of an element in a vector without using the find function

12Size

0 Comments

37Size

0 Comments

Problem 109. Check if sorted

13Size

0 Comments

10Size

0 Comments

Problem 149. Is my wife right?

45Size

0 Comments

Problem 25. Remove any row in which a NaN appears

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

Incorrect

0 Comments

24Size

0 Comments

Problem 189. Sum all integers from 1 to 2^n

28Size

0 Comments

37Size

0 Comments

Problem 1106. I've got the power! (Inspired by Project Euler problem 29)

39Size

0 Comments

Incorrect

0 Comments

26Size

0 Comments

109Size

0 Comments

Problem 23. Finding Perfect Squares

17Size

0 Comments

24Size

0 Comments

12Size

0 Comments

Incorrect

0 Comments

56Size

0 Comments

Problem 18. Bullseye Matrix

27Size

0 Comments

Problem 17. Find all elements less than 0 or greater than 10 and replace them with NaN

Incorrect

0 Comments

51Size

0 Comments

Problem 12. Fibonacci sequence