Community Profile

# SonJack

52 total contributions since 2016

View details...

Contributions in
View by

Solved

Beat the test suite if you can :)
Test Suites are laid there for clues

casi 4 años ago

Solved

BaeIsAlwaysRight
Output yes whatever bae says

casi 4 años ago

Solved

Some tweaks in summation, Can you decode? :)
There are some tweaks in summation that you might observe via test suites Try if you can

casi 4 años 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

casi 4 años ago

Solved

Freebies anyone? No!!!!
Feel free to copy paste all the tests and voila you solved the problem

casi 4 años ago

Solved

Determinant of a 3x3 Matrix
Return the determinant of a 3x3 matrix. The built-in Matlab function det is not allowed.

casi 4 años ago

Solved

Combine the digits to output numbers
input could be of any length e.g. 1. in1 = 1 in2 = 2 output = 12 2. in1 = 2 in2 = 1 in3 = 0 output = 210

casi 4 años ago

Solved

Upper Matrix in LU Decompositon
Get the Upper Matrix of the Matrix Given Please have a pride on not using built-in Matlab functions :)

casi 4 años ago

Solved

Primes Checker
Given variable inputs Check if they are prime numbers

casi 4 años ago

Solved

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

casi 4 años ago

Solved

Given X and Y, Get the Displacement Travelled
Given startX, start Y, endX and endY Get the displacement travelled %x = [startX endX] %y = [startY endY] x = [0 3]; y = [0...

casi 4 años ago

Solved

Calculate BMI
BMI = (weight_in_lbs * 703) / (height_in_inches^2) Inputs are in kg and cm

casi 4 años ago

Solved

Max Sum That You Can Get Of 2 Numbers given variable input
Given variable input length,combine 2 numbers from and output maximum sum the combinations can generate Example x = 3; y = 5;...

casi 4 años ago

Solved

Convert Miles To Kilometers
Given input in miles, output into kilometers

casi 4 años ago

Solved

Transpose Matrix Without Using Built-in Matlab Function
Transpose Matrix Without Using Built-in Matlab Function Example a = [1;2;3] out = [1 2 3]

casi 4 años ago

Solved

This is just like your weight :)
Imagine your weight as a sawtooth wave appended with a slope It varies yet the trend is increasing :) Decode the values throug...

casi 4 años ago

Solved

Bae Slap Counter LOL XD
How many times did your bae had slapped you? Create a formula counts how many times you are slapped

casi 4 años ago

Solved

Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

casi 4 años ago

Solved

Annoying population
Every year the number of annoying persons in the office triples Found the population, given a(0) and t

casi 4 años ago

Solved

Exponential Growth and Decay
Calculus time!! Find dx/dy or (k) Given y(0), y(t) and t

casi 4 años 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...

casi 4 años 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; ...

casi 4 años 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 ...

casi 4 años 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

casi 4 años 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 ...

casi 4 años ago

Solved

Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...

casi 4 años ago

Solved

Find my daddy long leg (No 's')
Given the ratio of the two legs,and the hypotenuse, find the value of the bigger leg

casi 4 años ago

Solved

Ceil Me Now
Get the ceiling of the input matrix

casi 4 años ago

Solved

Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 x1 = 123444...

casi 4 años ago

Solved

Square of the sum of optimus
Get the square of the sum of all primes given the limit input x

casi 4 años ago