Solved


sum of non-primes
The sum of the non-primes below 10 is 1+4+6+8+9+10=38 Find the sum of all the non-primes below the input, N.

7 years ago

Solved


kmph to mps
convert kilometer per hour to meter per second

7 years ago

Solved


given 3 sides, find area of this triangle
1:3 -> 0; 3:5 -> 6

7 years ago

Solved


For a rectangle, if x is the length and 2x is width. Then find out x from the area of the rectangle?
For a rectangle, if x is the length and 2x is the width. Then find out x from the area of the rectangle? if the area is equal...

7 years ago

Solved


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

7 years ago

Solved


Repeat Vector Values an Arbitrary Number of Times
Given two vectors of the same size, repeat the values of the first vector the number of times given in a second vector. For exam...

7 years ago

Solved


square of a number
find square of a given number

7 years ago

Solved


cube of number
find cube of number

7 years ago

Solved


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

7 years ago

Solved


Check if any duplicates in your data
Given an array x, return a number n equal to the largest number of repetitions in your data. For example: If x=[1 2 3 6 8 4 9]...

7 years ago

Solved


Divide the Least Common Multiple by the Greatest Common Divisor of two numbers
Divide the Least Common Multiple by the Greatest Common Divisor of two numbers. For example, for x=12345 and y=54321, the answer...

7 years ago

Solved


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

7 years ago

Solved


square root
Find square root of given number

7 years ago

Solved


Determinants
Given a square matrix(A), find the determinant(d). For example: A = [1,3;4,5] d = 1*5-4*3 = -7

7 years ago

Solved


Divisible by 21
Write a function to determine if a number is divisible by 21.

7 years ago

Solved


Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?

7 years ago

Solved


Delete the column with all 0 !
Delete the column with all 0 data in a matrix(x). e.g. input x = 1 0 0 4 5 0 7 0 ...

7 years ago

Solved


Sum two matrices
Take two incoming matrices, and sum them

7 years ago

Solved


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

7 years ago

Solved


Find the mean of two vectors
Take two vectors, and output the mean of them (bonus if you don't use the in-built mean function)

7 years ago

Solved


Matrix Max Finder
Output the maximum value in a matrix

7 years ago

Solved


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

7 years ago

Solved


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

7 years ago

Solved


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

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

7 years ago

Solved


Find the distance traveled by a car given velocity and time.
A car is traveling at a constant velocity for a specific amount of time. The function should use the two inputs, velocity and ti...

7 years ago

Solved


Primes Checker
Given variable inputs Check if they are prime numbers

7 years ago

Solved


wipe out!
make all the elements in given x zero.

7 years ago

Solved


MPS to MPH
Given the speed in miles per second, find the speed in miles per hour.

7 years ago

Solved


Halder function
Find the halder function value of a number

7 years ago

Load more