Skip to content

Instantly share code, notes, and snippets.

@saladinjake
Forked from lalkmim/codility_solutions.txt
Created November 3, 2020 07:32
Show Gist options
  • Save saladinjake/47b1367b566b4eddf3c90aff3ae884d2 to your computer and use it in GitHub Desktop.
Save saladinjake/47b1367b566b4eddf3c90aff3ae884d2 to your computer and use it in GitHub Desktop.
Codility Solutions in JavaScript
Lesson 1 - Iterations
- BinaryGap - https://codility.com/demo/results/trainingU2FQPQ-7Y4/
Lesson 2 - Arrays
- OddOccurrencesInArray - https://codility.com/demo/results/trainingFN5RVT-XQ4/
- CyclicRotation - https://codility.com/demo/results/trainingSH2W5R-RP5/
Lesson 3 - Time Complexity
- FrogJmp - https://codility.com/demo/results/training6KKWUD-BXJ/
- PermMissingElem - https://codility.com/demo/results/training58W4YJ-VHA/
- TapeEquilibrum - https://codility.com/demo/results/trainingHMJHCT-9BX/
Lesson 4 - Couting Elements
- MissingInteger - https://codility.com/demo/results/trainingPBJ5G7-2QB/
- FrogRiverOne - https://codility.com/demo/results/trainingVKFWNJ-84P/
- PermCheck - https://codility.com/demo/results/trainingN4XJDP-QJ6/
- MaxCounters - https://codility.com/demo/results/trainingQ3KEC6-S4T/
Lesson 5 - Prefix Sums
- CountDiv - https://codility.com/demo/results/trainingGBF99N-YHX/
- PassingCars - https://codility.com/demo/results/trainingAR78MG-6TF/
- GenomicRangeQuery - https://codility.com/demo/results/trainingZ47Q2A-CUW/
- MinAvgTwoSlice - https://codility.com/demo/results/trainingU6BWPU-ADW/
Lesson 6 - Sorting
- Triangle - https://codility.com/demo/results/training5FCWC6-F95/
- Distinct - https://codility.com/demo/results/trainingWPEYF6-TC9/
- MaxProductOfThree - https://codility.com/demo/results/trainingR637FP-8XS/
- NumberOfDiscIntersections - https://codility.com/demo/results/trainingDQZTYA-ZGD/
Lesson 7 - Stacks and Queues
- Brackets - https://codility.com/demo/results/trainingRQ4V9Q-PWX/
- Fish - https://codility.com/demo/results/trainingYGH5E7-N5G/
- StoneWall - https://codility.com/demo/results/trainingYYWY68-ZVH/
- Nesting - https://codility.com/demo/results/trainingV9B3AN-2QW/
Lesson 8 - Leader
- EquiLeader - https://codility.com/demo/results/trainingV5AZPJ-J9X/
- Dominator - https://codility.com/demo/results/trainingKNH5G4-FX9/
Lesson 9 - Maximum slice problem
- MaxDoubleSliceSum - https://codility.com/demo/results/trainingUY3GP9-J3Q/
- MaxProfit - https://codility.com/demo/results/training34TMJW-JT9/
- MaxSliceSum - https://codility.com/demo/results/trainingTXHJSZ-DXF/
Lesson 10 - Prime and composite numbers
- MinPerimeterRectangle - https://codility.com/demo/results/trainingW4XUWT-EXR/
- CountFactors - https://codility.com/demo/results/trainingGU5FEX-WD4/
- Flags - https://codility.com/demo/results/training97DBAE-GKV/
- Peaks - https://codility.com/demo/results/training7GBTZ2-BNT/
Lesson 11 - Sieve of Eratosthenes
- CountSemiprimes - https://codility.com/demo/results/trainingGFFQAS-GK8/
- CountNonDivisible - https://codility.com/demo/results/trainingUMCZ3V-9Q5/
Lesson 12 - Euclidean algorithm
- ChocolatesByNumber - https://codility.com/demo/results/trainingSXZ3KT-MV4/
- CommonPrimeDivisors - https://codility.com/demo/results/training9X2VFQ-6HC/
Lesson 13 - Fibonacci numbers
- FibFrog - https://codility.com/demo/results/trainingUZV28E-F7P/
- Ladder - https://codility.com/demo/results/trainingZXRA9N-33G/
Lesson 14 - Binary search algorithm
- MinMaxDivision - https://codility.com/demo/results/trainingHA5ZGD-H6G/
- NailingPlanks - https://codility.com/demo/results/trainingEW83KS-F3M/
Lesson 15 - Caterpillar method
- AbsDistinct - https://codility.com/demo/results/training4FP643-CE7/
- CountDistinctSlices - https://codility.com/demo/results/training3J563K-4GU/
- CountTriangles - https://codility.com/demo/results/trainingSREAJE-B4Q/
- MinAbsSumOfTwo - https://codility.com/demo/results/trainingPWSPFF-2X9/
Lesson 16 - Greedy algorithms
- MaxNonoverlappingSegments - https://codility.com/demo/results/training2XWCQT-MHR/
- TieRopes - https://codility.com/demo/results/trainingG9UHPH-8EX/
Lesson 17 - Dynamic programming
- NumberSolitaire - https://codility.com/demo/results/trainingXKAYAB-KGV/
- MinAbsSum - https://codility.com/demo/results/trainingQ7CF2B-9XJ/
Lesson 99 - Future training
- StrSymmetryPoint - https://codility.com/demo/results/training5SAKFX-JZ9/
- TreeHeight - https://codility.com/demo/results/training5M9QX5-CXQ/
- ArrayInversionCount - https://codility.com/demo/results/trainingZH3YMZ-D8H/ ************************** WIP
- PolygonConcavityIndex - https://codility.com/demo/results/trainingDRRKK2-Z57/
Challenges
- Alpha2010 - PrefixSet - https://codility.com/demo/results/trainingMACGW7-JXB/
- Beta 2010 - NumberOfDiscIntersections - https://codility.com/demo/results/trainingDQZTYA-ZGD/
- Gamma 2011 - CountPalindromicSlices - https://codility.com/demo/results/training4WWPKZ-9YD/ ************************** WIP
- Delta 2011 - MinAbsSum -https://codility.com/demo/results/trainingQ7CF2B-9XJ/
- Epsilon 2011 - Minfuds - https://codility.com/demo/results/trainingJE6X26-DKQ/ ************************** WIP
- Zeta 2011 - BallSwitchBoard - https://codility.com/demo/results/training9RCK8F-JBP/ ************************** WIP
- Eta 2011 - HamiltonianRoutesCount - https://codility.com/programmers/task/hamiltonian_routes_count/
- Theta 2011 - GasStations - https://codility.com/programmers/task/gas_stations/
- Iota 2011 - ShortestAdjSeq - https://codility.com/programmers/task/shortest_adj_seq/
- Kappa 2011 - SpaceCrews - https://codility.com/programmers/task/space_crews/
- Lambda 2011 - MinRouterPeripherality - https://codility.com/programmers/task/min_router_peripherality/
- Mu 2011 - NumberOfZeros - https://codility.com/programmers/task/number_of_zeros/
- Nu 2011 - DoubleMedian - https://codility.com/programmers/task/double_median/
- Xi 2012 - KSparseBinaryCount - https://codility.com/programmers/task/k_sparse_binary_count/
- Omicron 2012 - PowerFib - https://codility.com/programmers/task/power_fib/
- Pi 2012 - ArrayClosestAscenders - https://codility.com/programmers/task/array_closest_ascenders/
- Rho 2012 - HitTheNumber - https://codility.com/programmers/task/hit_the_number/
- Sigma 2012 - StoneWall - https://codility.com/demo/results/trainingYYWY68-ZVH/
- Tau 2012 - TorusLot - https://codility.com/programmers/task/torus_lot/
- Upsilon 2012 - CartesianSequence - https://codility.com/programmers/task/cartesian_sequence/
- Phi 2012 - TilingsCount - https://codility.com/programmers/task/tilings_count/
- Chi 2012 - Cannonballs - https://codility.com/programmers/task/cannonballs/
- Psi 2012 - WireBurnouts - https://codility.com/programmers/task/wire_burnouts/
- Omega 2013 - FallingDisks - https://codility.com/programmers/task/falling_disks/
- Hydrogenium 2013 - GroceryStore - https://codility.com/programmers/task/grocery_store/
- Helium 2013 - FindThree - https://codility.com/programmers/task/find_three/
- Lithium 2013 - Clocks - https://codility.com/programmers/task/clocks/
- Beryllium 2013 - PrefixSuffixSet - https://codility.com/programmers/task/prefix_suffix_set/
- Boron 2013 - Flags - https://codility.com/demo/results/training97DBAE-GKV/
- Carbo 2013 - PrefixMaxProduct - https://codility.com/programmers/task/prefix_max_product/
- Nitrogenium 2013 - FloodedIsland - https://codility.com/programmers/task/flooded_island/
- Oxygenium 2014 - CountBoundedSlices - https://codility.com/programmers/task/count_bounded_slices/
- Fluorum 2014 - TripPlanning - https://codility.com/programmers/task/trip_planning/
- Neon 2014 - BoatAlignment - https://codility.com/programmers/task/boat_alignment/
- Natrium 2014 - MaxDistanceMonotonic - https://codility.com/programmers/task/max_distance_monotonic/
- Magnesium 2014 - AscendingPaths - https://codility.com/programmers/task/ascending_paths/
- Aluminium 2014 - MaxSliceSwap - https://codility.com/programmers/task/max_slice_swap/
- Silicium 2014 - CuttingTheCake - https://codility.com/programmers/task/cutting_the_cake/
- Phosphorus 2014 - PrisonEscape - https://codility.com/programmers/task/prison_escape/
- Sulphur 2014 - BreakTheRope - https://codility.com/programmers/task/break_the_rope/
- Chlorum 2014 - TreeTrip - https://codility.com/programmers/task/tree_trip/
- Argon 2015 - TrekAndSwim - https://codility.com/programmers/task/trek_and_swim/
- Kalium 2015 - SqlSegmentSum - https://codility.com/programmers/task/sql_segments_sum/
- Calcium 2015 - SpeedCameras - https://codility.com/programmers/task/speed_cameras/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment