Solved


Mean number of letters per word (Easy)
Given a character array, s, representing a sentence, return a, the arithmetic mean of the number of letters per word in the give...

5 years ago

Solved


SAY 'OHYEAH'
Regardless of input, output the string 'OHYEAH'.

5 years ago

Solved


Permutation Via Multiplication
Given two numbers a and b, determine if the product ab is a permutation of the digits of a. For example, this is always true for...

5 years ago

Solved


Get the mean digit
Write a function that gives the mean digit (round towards nearest integer) of an input and positive number. For example: x ...

5 years ago

Solved


Sum of a geometric series
Give the sum of the first 'n' terms of a geometric series, given 'a' as the first term and 'r' as the ratio.

5 years ago

Solved


Ratio between sums of prime and non-prime numbers
Write a function that calculates the ratio between the sum of the prime numbers lower or equal than x, and the sum of the non-pr...

5 years ago

Solved


Find square of given number
Find Square of any number

5 years ago

Solved


Square root of number
Square root of given number.

5 years ago

Solved


Sum Sum Sum!
Calculate the sum of the natural numbers from 1 to n

5 years ago

Solved


Sum sum!!!
Sum the numbers from 1 to n

5 years ago

Solved


easy problem
Find the last element of the array

5 years ago

Solved


Check prime numbers
Let x, return 1 if x is a prime number, 0 otherwise e.g x = 7, return y =1; x = 6 return y = 0;

5 years ago

Solved


Square
square root of x

5 years ago

Solved


factorial
calculate x!

5 years ago

Solved


Find 0 in array
Given array find where there 0 is.

5 years ago

Problem


Easy Sequences 25: Product of Series
The function 'P(n)' is defined as the series product: where 'T(n)' is the triangular sum: ...

5 years ago | 2 | 19 solvers

Solved


Calculate the area of a circle
Given a circle of diameter x calculate its area

5 years ago

Solved


Convert Fahrenheit to Kelvin
Convert the value f in Fahrenheit to Kelvin

5 years ago

Solved


Quadratic equation
given three inputs (a, b, c) for the equation a*x^2+b*x+c=0; return 1 if the roots are complex (non zero imaginary), and 0 if th...

5 years ago

Solved


Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.

5 years ago

Solved


Check if number is a square number
Test if integer i is a square number. Return logical true if it is.

5 years ago

Solved


Check if a number belongs in the fibonacci squence
Test if integer i is a number in the fibonacci sequence. Return true if it is.

5 years ago

Solved


leap year
find the number of leap years within the given time interval

5 years ago

Solved


Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

5 years ago

Solved


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

5 years ago

Solved


Area-02
Given the radius of the circle inscribed in a square, find the area of the square that can be fitted perfectly in the corner. ...

5 years ago

Solved


Area-03
There are two circles of equal size are inscribed inside a square. They are tangent to each other. <https://serving.photos.ph...

5 years ago

Solved


Element-wise vector product (★)
Given two vectors x and y, compute their element-wise product z. Thus, if x = [1 3 5] and y = [0.5 -1 2], then z = [1*0.5...

5 years ago

Solved


Box
Give the volume of a box, x is equal to the body diagonal.

5 years ago

Solved


Determine the perimeter of a three-quarter circle
If a circle has a diameter of x as an input value, then show the value of the perimeter of the three-quarter circle in output va...

5 years ago

Load more