|
| 1 | +# Codility-Python |
| 2 | + |
| 3 | +My Solutions to [Codility Lessons](https://app.codility.com/programmers/lessons/1-iterations/) |
| 4 | +are listed as follows (100% performance with comments) : |
| 5 | + |
| 6 | +Lesson 1 Iterations |
| 7 | +- [BinaryGap](https://github.com/Mickey0521/Codility-Python/blob/master/BinaryGap.py) |
| 8 | + |
| 9 | +Lesson 2 Arrays |
| 10 | +- [OddOccurrencesInArray](https://github.com/Mickey0521/Codility-Python/blob/master/OddOccurrencesInArray.py) |
| 11 | +- [CyclicRotation](https://github.com/Mickey0521/Codility-Python/blob/master/CyclicRotation.py) |
| 12 | + |
| 13 | +Lesson 3 Time Complexity |
| 14 | +- [FrogJmp](https://github.com/Mickey0521/Codility-Python/blob/master/FrogJmp.py) |
| 15 | +- [PermMissingElem](https://github.com/Mickey0521/Codility-Python/blob/master/PermMissingElem.py) |
| 16 | +- [TapeEquilibrium](https://github.com/Mickey0521/Codility-Python/blob/master/TapeEquilibrium.py) |
| 17 | + |
| 18 | +Lesson 4 Counting Elements |
| 19 | +- [PermCheck](https://github.com/Mickey0521/Codility-Python/blob/master/PermCheck.py) |
| 20 | +- [FrogRiverOne](https://github.com/Mickey0521/Codility-Python/blob/master/FrogRiverOne.py) |
| 21 | +- [MissingInteger](https://github.com/Mickey0521/Codility-Python/blob/master/MissingInteger.py) |
| 22 | +- [MaxCounters](https://github.com/Mickey0521/Codility-Python/blob/master/MaxCounters_v3.py) |
| 23 | + |
| 24 | +Lesson 5 Prefix Sums |
| 25 | +- [CountDiv](https://github.com/Mickey0521/Codility-Python/blob/master/CountDiv_v2.py) |
| 26 | +- [PassingCars](https://github.com/Mickey0521/Codility-Python/blob/master/PassingCars.py) |
| 27 | +- [GenomicRangeQuery](https://github.com/Mickey0521/Codility-Python/blob/master/GenomicRangeQuery_v2.py) (respectable) |
| 28 | +- [MinAvgTwoSlice](https://github.com/Mickey0521/Codility-Python/blob/master/MinAvgTwoSlice_v2.py) (respectable) |
| 29 | + |
| 30 | +Lesson 6 Sorting |
| 31 | +- [Distinct](https://github.com/Mickey0521/Codility-Python/blob/master/Distinct.py) |
| 32 | +- [Triangle](https://github.com/Mickey0521/Codility-Python/blob/master/Triangle.py) |
| 33 | +- [MaxProductOfThree](https://github.com/Mickey0521/Codility-Python/blob/master/MaxProductOfThree.py) |
| 34 | +- [NumberOfDiscIntersections](https://github.com/Mickey0521/Codility-Python/blob/master/NumberOfDiscIntersections_v2.py) (respectable) |
| 35 | + |
| 36 | +Lesson 7 Stacks and Queues |
| 37 | +- [StoneWall](https://github.com/Mickey0521/Codility-Python/blob/master/StoneWall.py) |
| 38 | +- [Brackets](https://github.com/Mickey0521/Codility-Python/blob/master/Brackets_v2.py) |
| 39 | +- [Nesting](https://github.com/Mickey0521/Codility-Python/blob/master/Nesting.py) |
| 40 | +- [Fish](https://github.com/Mickey0521/Codility-Python/blob/master/Fish.py) |
| 41 | + |
| 42 | +Lesson 8 Leader |
| 43 | +- [EquiLeader](https://github.com/Mickey0521/Codility-Python/blob/master/EquiLeader.py) |
| 44 | +- [Dominator](https://github.com/Mickey0521/Codility-Python/blob/master/Dominator.py) |
| 45 | + |
| 46 | +Lesson 9 Maximum slice problem |
| 47 | +- [MaxDoubleSliceSum](https://github.com/Mickey0521/Codility-Python/blob/master/MaxDoubleSliceSum.py) |
| 48 | +- [MaxProfit](https://github.com/Mickey0521/Codility-Python/blob/master/MaxProfit.py) |
| 49 | +- [MaxSliceSum](https://github.com/Mickey0521/Codility-Python/blob/master/MaxSliceSum.py) |
| 50 | + |
| 51 | +Lesson 10 Prime and composite numbers |
| 52 | +- [MinPerimeterRectangle](https://github.com/Mickey0521/Codility-Python/blob/master/MinPerimeterRectangle.py) |
| 53 | +- [CountFactors](https://github.com/Mickey0521/Codility-Python/blob/master/CountFactors.py) |
| 54 | +- [Peaks](https://github.com/Mickey0521/Codility-Python/blob/master/Peaks.py) (respectable) |
| 55 | +- Flags (respectable) |
| 56 | + |
| 57 | +Lesson 11 Sieve of Eratosthenes (coming soon ...) |
| 58 | +- CountSemiprimes |
| 59 | +- CountNonDivisible (respectable) |
| 60 | + |
| 61 | +Lesson 12 Euclidean algorithm (coming soon ...) |
| 62 | +- ChocolatesByNumbers |
| 63 | +- CommonPrimeDivisors (respectable) |
| 64 | + |
| 65 | +Lesson 13 Fibonacci numbers (coming soon ...) |
| 66 | +- Ladder (respectable) |
| 67 | +- FibFrog (respectable) |
| 68 | + |
| 69 | +Lesson 14 Binary search algorithm (coming soon ...) |
| 70 | +- MinMaxDivision (respectable) |
| 71 | +- NailingPlanks (respectable) |
| 72 | + |
| 73 | +Lesson 15 Caterpillar method (coming soon ...) |
| 74 | +- AbsDistinct |
| 75 | +- CountDistinctSlices |
| 76 | +- CountTriangles |
| 77 | +- MinAbsSumOfTwo (respectable) |
| 78 | + |
| 79 | +Lesson 16 Greedy algorithms (coming soon ...) |
| 80 | +- MaxNonoverlappingSegments |
| 81 | +- TieRopes |
| 82 | + |
| 83 | +Lesson 17 Dynamic programming (coming soon ...) |
| 84 | +- NumberSolitaire (respectable) |
| 85 | +- MinAbsSum (ambitious) |
0 commit comments