Algorithm

TapeEquilibrium

A non-empty zero-indexed array A is given consisting of N integers.

Read More

Find the missing element in a given permutation

A zero-indexed array A is defined, consisting of N different integers.

Read More

Odd occurences in Array

A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired.

Read More

Minimal number of jumps

A small frog wants to get to the other side of the road.

Read More

Rotate Array

An array A consisting of N integers is given. Rotation of the array means that each element is shifted right by one index, and the last element of the array is moved to the first place.

Read More

Binary Gap

A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N.

Read More