Solved


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

4 years ago

Solved


Function - Cylinder Surface Area
The goal

4 years ago

Solved


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

4 years ago

Solved


Find the sum of the following series
A(n)=(n*(n-1)!)/(n-2)!

4 years ago

Solved


Count unique orderings of vertices of a polygon
Cody Problem 2671 asks us to determine whether four points can be the corners of a rectangle. The points are not necessarily inp...

4 years ago

Solved


Create the flag of Ramumbia
The little known nation of Ramumbia has a very simple flag. It is made up of vertical stripes, Red, Green, Blue, that are equall...

4 years ago

Solved


Sales Tax

4 years ago

Solved


Sum the Infinite Series II
For any x in the range 0 < x and x < 2*pi radians, find the sum of the following infinite series: c = 1 + 1/2*cos(x) + 1/2*3...

4 years ago

Solved


Count alternating permutations
In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...

5 years ago

Solved


Solve an ODE: equation A

5 years ago

Solved


Flip coins

5 years ago

Solved


Logic 11

5 years ago

Solved


Similar triangles

5 years ago

Solved


Normalizing a vector

5 years ago

Solved


Highest building

5 years ago

Solved


End Digits

5 years ago

Solved


Digits Multiplication

5 years ago

Solved


Min-Max digit

5 years ago

Solved


Do you have the minimum age?

5 years ago

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

5 years ago

Load more