Calculate 3D Distance
Given 2 vectors (1st is initial position, 2nd is the destination) calculate the distance in 3D
Example
in1 = [0 0 0]
in2...
7 years ago
Solved
Refresh your system of equations
Given square matrix, and solution vector, find the values of the variables
Example:
xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2...
7 years ago
Solved
Derive Me Crazy
Given a polynomial, output its derivative.
Example:
input = [1 0 0] % x^2
output = [2 0] % 2x
7 years ago
Solved
Marvel or DC?
Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'
7 years ago
Solved
Circular Shift Me
Given a vector v=[1 3 6 9 11], circular shift them while iterating
m=[1 3 6 9 11; 11 1 3 6 9; 9 11 1 3 6; 6 9 11 1 3; 3 6 9 1...
7 years ago
Solved
Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem