Codility is a software platform that helps technical recruiters hire and train stronger engineers. They evaluate programming skills. Codility Developer Training is an online task-based course that provides real-life challenges to train programming skills and technical interviews.
This repository contains Python solutions for Codility Developer Training lessons. You can use this repository to learn how to solve the problems or to check your solutions.
Lesson | Problem Name | Problem Link | Solution Link |
---|---|---|---|
01 - Iterations | BinaryGap | Problem | Solution |
02 - Arrays | CyclicRotation | Problem | Solution |
02 - Arrays | OddOccurrencesInArray | Problem | Solution |
03 - Time Complexity | FrogJmp | Problem | Solution |
03 - Time Complexity | PermMissingElem | Problem | Solution |
03 - Time Complexity | TapeEquilibrium | Problem | Solution |
04 - Counting Elements | FrogRiverOne | Problem | Solution |
04 - Counting Elements | PermCheck | Problem | Solution |
04 - Counting Elements | MaxCounters | Problem | Solution |
04 - Counting Elements | MissingInteger | Problem | Solution |
05 - Prefix Sums | CountDiv | Problem | Solution |
05 - Prefix Sums | GenomicRangeQuery | Problem | Solution |
05 - Prefix Sums | MinAvgTwoSlice | Problem | Solution |
05 - Prefix Sums | PassingCars | Problem | Solution |
06 - Sorting | Distinct | Problem | Solution |
06 - Sorting | MaxProductOfThree | Problem | Solution |
06 - Sorting | Triangle | Problem | Solution |
06 - Sorting | NumberOfDiscIntersections | Problem | Solution |
07 - Stacks and Queues | Brackets | Problem | Solution |
07 - Stacks and Queues | Fish | Problem | Solution |
07 - Stacks and Queues | Nesting | Problem | Solution |
07 - Stacks and Queues | StoneWall | Problem | Solution |
08 - Leader | Dominator | Problem | Solution |
08 - Leader | EquiLeader | Problem | Solution |
09 - Maximum slice problem | MaxProfit | Problem | Solution |
09 - Maximum slice problem | MaxSliceSum | Problem | Solution |
09 - Maximum slice problem | MaxDoubleSliceSum | Problem | Solution |
10 - Prime and composite numbers | CountFactors | Problem | Solution |
10 - Prime and composite numbers | MinPerimeterRectangle | Problem | Solution |
10 - Prime and composite numbers | Flags | Problem | Solution |
10 - Prime and composite numbers | Peaks | Problem | Solution |
11 - Sieve of Eratosthenes | CountNonDivisible | Problem | Solution |
11 - Sieve of Eratosthenes | CountSemiprimes | Problem | Solution |
12 - Euclidean algorithm | ChocolatesByNumbers | Problem | Solution |
12 - Euclidean algorithm | CommonPrimeDivisors | Problem | Solution |
13 - Fibonacci numbers | FibFrog | Problem | Solution |
13 - Fibonacci numbers | Ladder | Problem | Solution |
14 - Binary search algorithm | MinMaxDivision | Problem | Solution |
14 - Binary search algorithm | NailingPlanks | Problem | Solution |
15 - Caterpillar method | AbsDistinct | Problem | Solution |
15 - Caterpillar method | CountDistinctSlices | Problem | Solution |
15 - Caterpillar method | CountTriangles | Problem | Solution |
15 - Caterpillar method | MinAbsSumOfTwo | Problem | Solution |
16 - Greedy algorithms | MaxNonoverlappingSegments | Problem | Solution |
16 - Greedy algorithms | TieRopes | Problem | Solution |
17 - Dynamic programming | NumberSolitaire | Problem | Solution |
17 - Dynamic programming | MinAbsSum | Problem | Solution |