Skip to content
Codility Lessons 10:
CountFactors
MinPerimeterRectangle
Flags
Peaks

Codility Solutions

Java Solutions to Codility Problems

  • Home
  • About
  • Lessons
  • Exercises
  • Challenges
  • Contact
Codility Sample Solutions Code

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

View All Lesson

Copyright © All rights reserved.
  • About
  • Lessons
  • Contact
  • Terms
Scroll Up