├── .gitignore ├── 02-CountingElements └── FindSwap.cs ├── 04-Sorting ├── DiscIntersections.cs ├── DistinctValues.cs ├── FindMaxProduct.cs ├── SelectionSort.cs └── Triangle.cs ├── 05-StacksAndQueues ├── Brackets.cs ├── Fish.cs ├── Nesting.cs ├── Queue.cs ├── Stack.cs └── StoneWall.cs ├── 06-Leader ├── Dominator.cs └── EquiLeader.cs ├── 07-MaxSlice ├── MaxDoubleSliceSum.cs ├── MaxProfit.cs └── MaxSliceSum.cs ├── 08-Prime&CompositeNums ├── CountFactors.cs ├── Flags.cs ├── MinPerimeterRectangle.cs ├── Peaks.cs └── WritePrimeNumbers.cs ├── 09-SieveOfEratosthenes ├── CountNonDivisible.cs └── CountSemiprimes.cs ├── 10-EuclideanAlgorithm ├── ChocolatesByNumbers.cs ├── CommonPrimeDivisors.cs └── GCD.cs ├── 11-FibonacciNumbers ├── FibFrog.cs ├── FibonacciNumbers.cs └── Ladder.cs ├── 12-BinarySearch ├── MinMaxDivision.cs ├── NailingPlanks.cs └── NailingPlanksArraysOnly.cs ├── 13-CaterpillarMethod ├── AbsDistinct.cs ├── CountDistinctSlices.cs ├── CountTriangles.cs └── MinAbsSumOfTwo.cs ├── 14-GreedyAlgorithms ├── MaxNonoverlappingSegments.cs └── TieRopes.cs ├── 15-DynamicProgramming ├── DynamicCoinChanging.cs ├── DynamicFrog.cs ├── MinAbsSum.cs └── NumberSolitaire.cs ├── 99-FutureTraining ├── ArrayInversionCount.cs ├── BinaryGap.cs ├── BinaryIndexTree.cs ├── Mergesort.cs ├── OddOccurrencesInArray.cs ├── Point2D.cs ├── PolygonConcavityIndex.cs ├── StrSymmetryPoint.cs ├── TreeHeight.cs └── Vector.cs ├── Interviews ├── Barclays.cs └── Palantir.cs └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/.gitignore -------------------------------------------------------------------------------- /02-CountingElements/FindSwap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/02-CountingElements/FindSwap.cs -------------------------------------------------------------------------------- /04-Sorting/DiscIntersections.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/04-Sorting/DiscIntersections.cs -------------------------------------------------------------------------------- /04-Sorting/DistinctValues.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/04-Sorting/DistinctValues.cs -------------------------------------------------------------------------------- /04-Sorting/FindMaxProduct.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/04-Sorting/FindMaxProduct.cs -------------------------------------------------------------------------------- /04-Sorting/SelectionSort.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/04-Sorting/SelectionSort.cs -------------------------------------------------------------------------------- /04-Sorting/Triangle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/04-Sorting/Triangle.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/Brackets.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/Brackets.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/Fish.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/Fish.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/Nesting.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/Nesting.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/Queue.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/Queue.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/Stack.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/Stack.cs -------------------------------------------------------------------------------- /05-StacksAndQueues/StoneWall.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/05-StacksAndQueues/StoneWall.cs -------------------------------------------------------------------------------- /06-Leader/Dominator.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/06-Leader/Dominator.cs -------------------------------------------------------------------------------- /06-Leader/EquiLeader.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/06-Leader/EquiLeader.cs -------------------------------------------------------------------------------- /07-MaxSlice/MaxDoubleSliceSum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/07-MaxSlice/MaxDoubleSliceSum.cs -------------------------------------------------------------------------------- /07-MaxSlice/MaxProfit.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/07-MaxSlice/MaxProfit.cs -------------------------------------------------------------------------------- /07-MaxSlice/MaxSliceSum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/07-MaxSlice/MaxSliceSum.cs -------------------------------------------------------------------------------- /08-Prime&CompositeNums/CountFactors.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/08-Prime&CompositeNums/CountFactors.cs -------------------------------------------------------------------------------- /08-Prime&CompositeNums/Flags.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/08-Prime&CompositeNums/Flags.cs -------------------------------------------------------------------------------- /08-Prime&CompositeNums/MinPerimeterRectangle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/08-Prime&CompositeNums/MinPerimeterRectangle.cs -------------------------------------------------------------------------------- /08-Prime&CompositeNums/Peaks.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/08-Prime&CompositeNums/Peaks.cs -------------------------------------------------------------------------------- /08-Prime&CompositeNums/WritePrimeNumbers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/08-Prime&CompositeNums/WritePrimeNumbers.cs -------------------------------------------------------------------------------- /09-SieveOfEratosthenes/CountNonDivisible.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/09-SieveOfEratosthenes/CountNonDivisible.cs -------------------------------------------------------------------------------- /09-SieveOfEratosthenes/CountSemiprimes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/09-SieveOfEratosthenes/CountSemiprimes.cs -------------------------------------------------------------------------------- /10-EuclideanAlgorithm/ChocolatesByNumbers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/10-EuclideanAlgorithm/ChocolatesByNumbers.cs -------------------------------------------------------------------------------- /10-EuclideanAlgorithm/CommonPrimeDivisors.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/10-EuclideanAlgorithm/CommonPrimeDivisors.cs -------------------------------------------------------------------------------- /10-EuclideanAlgorithm/GCD.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/10-EuclideanAlgorithm/GCD.cs -------------------------------------------------------------------------------- /11-FibonacciNumbers/FibFrog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/11-FibonacciNumbers/FibFrog.cs -------------------------------------------------------------------------------- /11-FibonacciNumbers/FibonacciNumbers.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/11-FibonacciNumbers/FibonacciNumbers.cs -------------------------------------------------------------------------------- /11-FibonacciNumbers/Ladder.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/11-FibonacciNumbers/Ladder.cs -------------------------------------------------------------------------------- /12-BinarySearch/MinMaxDivision.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/12-BinarySearch/MinMaxDivision.cs -------------------------------------------------------------------------------- /12-BinarySearch/NailingPlanks.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/12-BinarySearch/NailingPlanks.cs -------------------------------------------------------------------------------- /12-BinarySearch/NailingPlanksArraysOnly.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/12-BinarySearch/NailingPlanksArraysOnly.cs -------------------------------------------------------------------------------- /13-CaterpillarMethod/AbsDistinct.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/13-CaterpillarMethod/AbsDistinct.cs -------------------------------------------------------------------------------- /13-CaterpillarMethod/CountDistinctSlices.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/13-CaterpillarMethod/CountDistinctSlices.cs -------------------------------------------------------------------------------- /13-CaterpillarMethod/CountTriangles.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/13-CaterpillarMethod/CountTriangles.cs -------------------------------------------------------------------------------- /13-CaterpillarMethod/MinAbsSumOfTwo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/13-CaterpillarMethod/MinAbsSumOfTwo.cs -------------------------------------------------------------------------------- /14-GreedyAlgorithms/MaxNonoverlappingSegments.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/14-GreedyAlgorithms/MaxNonoverlappingSegments.cs -------------------------------------------------------------------------------- /14-GreedyAlgorithms/TieRopes.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/14-GreedyAlgorithms/TieRopes.cs -------------------------------------------------------------------------------- /15-DynamicProgramming/DynamicCoinChanging.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/15-DynamicProgramming/DynamicCoinChanging.cs -------------------------------------------------------------------------------- /15-DynamicProgramming/DynamicFrog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/15-DynamicProgramming/DynamicFrog.cs -------------------------------------------------------------------------------- /15-DynamicProgramming/MinAbsSum.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/15-DynamicProgramming/MinAbsSum.cs -------------------------------------------------------------------------------- /15-DynamicProgramming/NumberSolitaire.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/15-DynamicProgramming/NumberSolitaire.cs -------------------------------------------------------------------------------- /99-FutureTraining/ArrayInversionCount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/ArrayInversionCount.cs -------------------------------------------------------------------------------- /99-FutureTraining/BinaryGap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/BinaryGap.cs -------------------------------------------------------------------------------- /99-FutureTraining/BinaryIndexTree.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/BinaryIndexTree.cs -------------------------------------------------------------------------------- /99-FutureTraining/Mergesort.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/Mergesort.cs -------------------------------------------------------------------------------- /99-FutureTraining/OddOccurrencesInArray.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/OddOccurrencesInArray.cs -------------------------------------------------------------------------------- /99-FutureTraining/Point2D.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/Point2D.cs -------------------------------------------------------------------------------- /99-FutureTraining/PolygonConcavityIndex.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/PolygonConcavityIndex.cs -------------------------------------------------------------------------------- /99-FutureTraining/StrSymmetryPoint.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/StrSymmetryPoint.cs -------------------------------------------------------------------------------- /99-FutureTraining/TreeHeight.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/TreeHeight.cs -------------------------------------------------------------------------------- /99-FutureTraining/Vector.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/99-FutureTraining/Vector.cs -------------------------------------------------------------------------------- /Interviews/Barclays.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/Interviews/Barclays.cs -------------------------------------------------------------------------------- /Interviews/Palantir.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/Interviews/Palantir.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CharlesIC/Codility/HEAD/README.md --------------------------------------------------------------------------------