Resuelto


Perimeter of a quadrilateral
There are four cars starting at a point. The first car points north, the second one points east, the third one points south, an...

12 meses hace

Resuelto


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

12 meses hace

Resuelto


find the 'M'
for an input x, return 1 at the location of the letter 'M'

12 meses hace

Resuelto


Replace with Lower
Given a list of integers, for each element, replace it with the minimum integer found in the sub-list to its strict right (exclu...

12 meses hace

Resuelto


Number Puzzle - 066

12 meses hace

Resuelto


Solve system of equation!
Given provided system of equation, and find x and y. System of equation can be expressed as each term's coefficient. For exam...

12 meses hace

Resuelto


Calculate the volume of the football

12 meses hace

Resuelto


Save variables
a=[1] Save variable a that is located in workspace into current folder. File name should be 'a.mat'

12 meses hace

Resuelto


Subtraction
Given two numbers a and b subtract them

12 meses hace

Resuelto


Hofstadter Q sequence
The Hofstadter Q sequence is defined as follows: The first elements of the sequence are 1, 1, 2, 3, 3, 4, 5, 5, 6, 6. Write ...

12 meses hace

Resuelto


Neural Net Image Convolution: Return only Valid portion of conv2
This challenge is to return only the Valid portion of a 2-D convolution. Valid is deemed to be where all elements of the kernel ...

12 meses hace

Resuelto


Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...

12 meses hace

Resuelto


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

12 meses hace

Resuelto


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

12 meses hace

Resuelto


Homemade: Control Charts
This problem is a simple version of control charts in statistics. Intput consists from 30 or more observations. * Upper limi...

12 meses hace

Resuelto


Sort vector by number of prime factors of each element
Sort a given array based on how many prime factors each term has. Sort from least to greatest and output original values. Ex: ...

12 meses hace

Resuelto


Tridiagonal matrix
Given vectors u and v, make a tri-diagonal symmetric matrix such that u is in the main diagonal and v is below and above diagona...

12 meses hace

Resuelto


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

12 meses hace

Resuelto


Find the mean of the magic x
Given a x term, find the magic x, then find the mean/average of any one row or column.

12 meses hace

Resuelto


A little bit of luck needed
This one may require a little bit of guess work, but it is possible. Hints: - The same solution might fail the tests once and ...

12 meses hace

Resuelto


Remove the diagonal of a square matrix
Some Cody problems ask solvers to remove columns (e.g., CP 7), and others ask solvers to remove rows (e.g., CP 44033). Write a...

12 meses hace

Resuelto


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

12 meses hace

Resuelto


Test x = 1
Write a function to make the variable x = 1

12 meses hace

Resuelto


Division
Given two numbers a and b divide them a/b

12 meses hace

Resuelto


Multiplication
Given 2 numbers a and b mulitply them

12 meses hace

Resuelto


Determine when snow started
R.P. Agnew posed the following problem: It starts snowing in the morning and continues steadily throughout the day. A snowplow t...

12 meses hace

Resuelto


Why the heck are they blinking!?!?
Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

12 meses hace

Resuelto


Lights Out 2 - 5x5, 4 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

12 meses hace

Resuelto


Lights Out 1 - 5x5, 3 moves
<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

12 meses hace

Cargar más