My attempts at the timed programming challenges here https://codility.com/programmers/lessons
- BinaryGap (score: 80%) Find longest sequence of zeros in binary representation of an integer.
-
CyclicRotation (score: 100%) Rotate an array to the right by a given number of steps.
-
OddOccurrencesInArray (score: 100%), Find value that occurs in odd number of elements.
-
FrogJmp (score: 100%) Count minimal number of jumps from position X to Y.
-
TapeEquilibrium (score: 100%) Minimize the value |(A[0] + ... + A[P-1]) - (A[P] + ... + A[N-1])|.