A résolu


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

presque 5 ans il y a

A résolu


Function - Cylinder Surface Area
The goal

presque 5 ans il y a

A résolu


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.

presque 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


Sales Tax

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


Compute the nth term from the golden sieve

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

A résolu


List the titles of Cody problems

environ 5 ans il y a

A résolu


Make the first letter of a sentence Capital.

environ 5 ans il y a

A résolu


Write a function to generate AND operation

environ 5 ans il y a

A résolu


Solve an ODE: equation A

environ 5 ans il y a

A résolu


Flip coins

environ 5 ans il y a

A résolu


Iterate the sum of divisors and totient

environ 5 ans il y a

A résolu


Logic 11

environ 5 ans il y a

A résolu


Find an inscribed square on a closed curve

environ 5 ans il y a

A résolu


Convert any case sentence to Title Case

environ 5 ans il y a

A résolu


Similar triangles

environ 5 ans il y a

A résolu


Normalizing a vector

environ 5 ans il y a

A résolu


Highest building

environ 5 ans il y a

A résolu


End Digits

environ 5 ans il y a

A résolu


Find the nearest value to the given one

environ 5 ans il y a

A résolu


Digits Multiplication

environ 5 ans il y a

A résolu


Min-Max digit

environ 5 ans il y a

A résolu


Do you have the minimum age?

environ 5 ans il y a

A résolu


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

environ 5 ans il y a

Charger plus