The following are the solutions for Codility Lessons
Lesson 1 Iterations
Lesson 2 Arrays
Lesson 3 Time Complexity
Lesson 4 Counting Elements
Lesson 5 Prefix Sums
Lesson 6 Sorting
- MaxProductOfThree
- Triangle
- Distinct
- NumberOfDiscIntersections
Lesson 7 Stacks and Queues
Lesson 8 Leader
Lesson 9 Maximum slice problem
Lesson 10 Prime and composite numbers
- MinPerimeterRectangle
- CountFactors
- Peaks
- Flags
Lesson 11 Sieve of Eratosthenes
- CountSemiprimes
- CountNonDivisible
Lesson 12 Euclidean algorithm
Lesson 13 Fibonacci numbers
- Ladder
- FibFrog
Lesson 14 Binary search algorithm
- MinMaxDivision
- NailingPlanks
Lesson 15 Caterpillar method
- AbsDistinct
- CountTriangles
- CountDistinctSlices
- MinAbsSumOfTwo
Lesson 16 Greedy algorithms
- TieRopes
- MaxNonoverlappingSegments
Lesson 17 Dynamic programming
- NumberSolitaire
- MinAbsSum
Lesson 99 Future training
- TreeHeight
- StrSymmetryPoint
- OddOccurrencesInArray
- BinaryGap
- ArrayInversionCount