Binary Gap is the first exercise on Codility.
Codility is used by some companies for screening job applicants.
Exercises on Codility engage you to:
1. Find an answer to an algorithmic problem,
2. Optimize your solution for resources (computation time and space),
3. Look for alternative data structures and algorithms