/Codility

Solutions to all problems in Codility lessons

Primary LanguageJava

###Lesson 1 Time Complexity FrogJmp PermMissingElem TapeEquilibrium ###Lesson 2 Counting Elements PermCheck FrogRiverOne MissingInteger MaxCounters ###Lesson 3 Prefix Sums PassingCars CountDiv MinAvgTwoSlice GenomicRangeQuery ###Lesson 4 Sorting MaxProductOfThree Distinct Triangle NumberOfDiscIntersections ###Lesson 5 Stacks and Queues Brackets Nesting Fish StoneWall ###Lesson 6 Leader EquiLeader Dominator ###Lesson 7 Maximum slice problem MaxProfit MaxSliceSum MaxDoubleSliceSum ###Lesson 8 Prime and composite numbers MinPerimeterRectangle CountFactors Peaks Flags ###Lesson 9 Sieve of Eratosthenes CountSemiprimes CountNonDivisible ###Lesson 10 Euclidean algorithm ChocolatesByNumbers CommonPrimeDivisors ###Lesson 11 Fibonacci numbers Ladder FibFrog ###Lesson 12 Binary search algorithm MinMaxDivision NailingPlanks ###Lesson 13 Caterpillar method AbsDistinct CountDistinctSlices MinAbsSumOfTwo CountTriangles ###Lesson 14 Greedy algorithms MaxNonoverlappingSegments TieRopes ###Lesson 15 Dynamic programming NumberSolitaire MinAbsSum ###Lesson 99 Future training TreeHeight OddOccurrencesInArray BinaryGap StrSymmetryPoint ArrayInversionCount