Solved

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

3 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...

3 years ago

Solved

Derive Me Crazy

Given a polynomial, output its derivative. Example: input = [1 0 0] % x^2 output = [2 0] % 2x

3 years ago

Solved

Marvel or DC?

Given input vector determine if there's a DC value. If there is, output 'DC', else output 'MARVEL'

3 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...

3 years ago

Solved

Freebies anyone? No!!!!

Feel free to copy paste all the tests and voila you solved the problem

3 years ago

Solved

Convert decimal to binary and then generate the minimum binary it can with jumbling

input is 10 --> 1010 output should be 3 --> 0011 input 23 --> 10111 output should be 15 --> 01111

3 years ago