A set of solved problems from Codility training page.
Table of contents
- Internal documentation missing.
- Not all of them fit into required algorithmic complexity.
All problems are solved using Java 8 and IntelliJ IDEA CE.
BinaryGap: Find longest sequence of zeros in binary representation of an integer.
CyclicRotation: Rotate an array to the right by a given number of steps.
OddOccurrencesInArray: Find value that occurs in odd number of elements.
FrogJmp: Count minimal number of jumps from position X to Y.
StrSymmetryPoint: Find a symmetry point of a string, if any.
TreeHeight: Compute the height of a binary tree.
ArrayInversionCount: Compute number of inversion in an array.