My Solutions to Codility Lessons can be found in My Blog and are listed as follows (100% performance with comments) :
Lesson 1 Iterations
Lesson 2 Arrays
Lesson 3 Time Complexity
Lesson 4 Counting Elements
- PermCheck
- FrogRiverOne
- MissingInteger
- MaxCounters (respectable)
Lesson 5 Prefix Sums
- CountDiv
- PassingCars
- GenomicRangeQuery (respectable)
- MinAvgTwoSlice (respectable)
Lesson 6 Sorting
- Distinct
- Triangle
- MaxProductOfThree
- NumberOfDiscIntersections (respectable)
Lesson 7 Stacks and Queues
Lesson 8 Leader
Lesson 9 Maximum slice problem
Lesson 10 Prime and composite numbers
- MinPerimeterRectangle
- CountFactors
- Peaks (respectable)
- Flags (respectable)
Lesson 11 Sieve of Eratosthenes
- CountSemiprimes
- CountNonDivisible (respectable)
Lesson 12 Euclidean algorithm
- ChocolatesByNumbers
- CommonPrimeDivisors (respectable)
Lesson 13 Fibonacci numbers
Lesson 14 Binary search algorithm
- MinMaxDivision (respectable)
- NailingPlanks (respectable)
Lesson 15 Caterpillar method
- AbsDistinct
- CountDistinctSlices
- CountTriangles
- MinAbsSumOfTwo (respectable)
Lesson 16 Greedy algorithms
Lesson 17 Dynamic programming
- NumberSolitaire (respectable)
- MinAbsSum (ambitious)