Community Profile

photo

seb


Last seen: Today
14 total contributions since 2016

Contact

seb's Badges

  • Personal Best Downloads Level 3
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Solver

View details...

Contributions in
View by

Solved


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

6 meses ago

Solved


Given a window, how many subsets of a vector sum positive
Given a vector: [1 0 -1 3 2 -3 1] and a window of 2, A sliding window would find: 1 + 0 = 1 0 - 1 = -1 ...

6 meses ago

Solved


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

6 meses ago

Solved


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

6 meses ago

Solved


find the surface area of a cube
given cube side length x, find the surface area of the cube, set it equal to y

6 meses ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6 meses ago

Solved


Find the biggest empty box
You are given a matrix that contains only ones and zeros. Think of the ones as columns in an otherwise empty floor plan. You wan...

6 meses ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

6 meses ago

Submitted


Create Venn Diagrams from Set Expressions
Takes in a logically valid expression on 3 sets and outputs a Venn diagram with the appropriate region colored

alrededor de 1 año ago | 20 downloads |

Thumbnail

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

casi 5 años ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

casi 5 años ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

casi 5 años ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

casi 5 años ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

casi 5 años ago