Your browser (Unknown 0) is no longer supported. Some parts of the website may not work correctly. Please update your browser.
Codility logo graphic
Developer Training
Challenges
Lessons
Exercises
Log in
Sign up
AVAILABLE EXERCISES:
Exercise 9
Bitwise operations (bit-ops)
Exercise 8
Frontend
Exercise 7
Data Structures
Exercise 6
SQL
Exercise 5
Coding skills
Exercise 4
Algorithmic skills
Exercise 3
2017 Contest
Exercise 2
2016 Contest
Exercise 1
2015 Contest
Exercise 9
Bitwise operations (bit-ops)
Tasks:
easy
BinaryGap
VIEW
START
Find longest sequence of zeros in binary representation of an integer.
medium
CountConformingBitmasks
VIEW
START
Count 30-bit bitmasks conforming to at least one of three given 30-bit bitmasks.
hard
SparseBinaryDecomposition
VIEW
START
Decompose int into sum of ints having no consecutive 1s in binary form.