Codility Solutions

On this page I am sharing my solutions to the codility.com problem sets. They can be found here. Enjoy and share your comments!

1) Time Complexity

2) Counting Elements

3) Prefix Sums

4) Sorting

5) Stacks and Queues

6) Leader

7) Maximum Slice Problem

8) Prime and composite numbers

9) Sieve or Eratosthenes

10) Euclidean Algorithm

11) Fibonacci Numbers

12) Binary Search

13) Caterpillar method

14) Greedy algorithms

15) Dynamic Programming

16) Future Training

X) Challenges


Based on the Codility Terms of Service it is allowed to share training solutions and solutions to past challenges.

8.1.  Any Task, statement or information on the Site (including Tests Sessions and Test Session results) is confidential information. You agree not to:

(a)   disclose, publish or reproduce (including posting on any webpage or blog) such information; or

(b)   disclose to others details of a recruitment Task, ongoing monthly Challenge or ongoing competition Task (including details relating to its completion).

8.2.  This clause does not apply to: Training section of Codility service, Training Tasks and Past Challenges, their solutions and assessment results.