Community Profile

# Ernest Emil Fabian

41 total contributions since 2016

View details...

Contributions in
View by

Solved

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

mehr als 3 Jahre ago

Solved

I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

mehr als 3 Jahre ago

Solved

Create Truth Table of Size according to input
Create a Truth Table Example: n = 3 output = [0 0 0; 0 0 1; 0 1 0; 0 1 1; 1 0 0; 1 0 1; 1 1 0; 1 1 1]

mehr als 3 Jahre ago

Solved

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

mehr als 3 Jahre ago

Solved

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

mehr als 3 Jahre ago

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

mehr als 3 Jahre ago

Solved

N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

mehr als 3 Jahre ago

Solved

Implement zero-based indexing for Matrices
Given an input vector and position (which is zero based) output the value Example: x = [1 2; 4 5] pos = [0 1] value = 5 ...

mehr als 3 Jahre ago

Solved

Implement zero based indexing (Vectors only)
Given an input vector and position (which is zero based) output the value Example: x = [1 2 4 5] pos = 2 value = 4

mehr als 3 Jahre ago

Solved

Rotate matrix by -90 degrees
Rotate a Matrix by -90 degrees Example: X = 1 2 3 4 5 6 7 8 9 output = 7 4 ...

mehr als 3 Jahre ago

Solved

Ceil Me Now
Get the ceiling of the input matrix

mehr als 3 Jahre ago

Solved

Find the outcast
All pairs have the same difference except for one. Output the index of the latter Example: input =[0 1; 1 0; 2 3; 4 5;] ou...

mehr als 3 Jahre ago

Solved

Modified run-length companion vector
Given a vector x, return a vector that indicates the run length of any value in x. Each element in output vector shows how many ...

mehr als 3 Jahre ago

Solved

Create a code for XNOR
Given two inputs, output XNOR of those two

mehr als 3 Jahre ago

Solved

Encode Me From The Past
Given this input x = 2, 5, 1, 2, 4, 1, 1, 3 output should be (Five 2's, Two 1's, One 4, Three 1's) [2 2 2 2 2 1 1 4 1 1 1]

mehr als 3 Jahre ago

Solved

Given input in radians, output to degrees

mehr als 3 Jahre ago

Solved

Given input in degrees, output to radians

mehr als 3 Jahre ago

Solved

Create tangent function out of sine function only
Please don't use cosine and tangent functions

mehr als 3 Jahre ago

Solved

Create tangent function out of cosine only
Please don't use tangent and sine functions

mehr als 3 Jahre ago

Solved

Create tangent function out of sin and cos

mehr als 3 Jahre ago

Solved

Create sine function out of cosine

mehr als 3 Jahre ago

Solved

Create cosine function out of sine

mehr als 3 Jahre ago

Solved

Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

mehr als 3 Jahre ago

Solved

Upper Matrix Mock
Given a vector v=[1 3 6 9 11], turn it into a matrix 'ramp' like so: m=[1 3 6 9 11; 0 1 3 6 9; 0 0 1 3 6; 0 0 0 1...

mehr als 3 Jahre ago

Solved

Full Wave rectifier
Create a function that emulates a full wave rectifier. Use a sine wave

mehr als 3 Jahre ago

Solved

Half wave rectifier
Create a function that emulates a half wave rectifier. Use a sine wave

mehr als 3 Jahre ago

Solved

Recursion at variable input
input of any length a =2 b =2 c =3 output = (a^b)^c = 64

mehr als 3 Jahre ago

Solved

Beat the test suite if you can :)
Solve this problem based on clues in the test suite.

mehr als 3 Jahre 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

mehr als 3 Jahre ago

Solved

Primes Checker
Given variable inputs Check if they are prime numbers

mehr als 3 Jahre ago