
Codility solutions
The most complete list of all the solutions to codility problems resolved in Java 8. All the solutions checked against minimum 15 well designed test cases and get score 100%.
The first step to solving any Codility problem is to understand the question and try to solve at your own ability. If you can't solve a practice problem within a fixed time period, do not waste your time, instead look up the solution and make sure you understand how it works. It's more important you get exposed to more problems.
Lesson 1
Iterations
BinaryGap
Find the longest sequence of zeros in the binary representation of an integer.
Difficulty Level: Easy