Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jglchen/codility-solutions-javascript

My Solutions to Codility Lessons with JavaScript
https://github.com/jglchen/codility-solutions-javascript

javascript markdown

Last synced: 16 days ago
JSON representation

My Solutions to Codility Lessons with JavaScript

Awesome Lists containing this project

README

        

# My Solutions to Codility Lessons with JavaScript

My solutions to [Codility Lessons](https://app.codility.com/programmers/lessons/1-iterations/) using javascript are listed below:

Lesson 1 Iterations

- [BinaryGap](https://github.com/jglchen/codility-solutions-javascript/blob/main/1-Iterations/binary-gap.mdx)

Lesson 2 Arrays

- [CyclicRotation](https://github.com/jglchen/codility-solutions-javascript/blob/main/2-Arrays/cyclic-rotation.mdx)
- [OddOccurencesInArray](https://github.com/jglchen/codility-solutions-javascript/blob/main/2-Arrays/odd-occurences-in-array.mdx)

Lesson 3 Time Complexity

- [FrogJmp](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/frog-jmp.mdx)
- [PermMissingElem](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/perm-missing-elem.mdx)
- [TapeEquilibrium](https://github.com/jglchen/codility-solutions-javascript/blob/main/3-Time_Complexity/tape-equilibrium.mdx)

Lesson 4 Counting Elements

- [FrogRiverOne](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/frog-river-one.mdx)
- [PermCheck](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/perm-check.mdx)
- [MaxCounters](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/max-counters.mdx)
- [MissingInteger](https://github.com/jglchen/codility-solutions-javascript/blob/main/4-Counting_Elements/missing-integer.mdx)

Lesson 5 Prefix Sums

- [PassingCars](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/passing-cars.mdx)
- [CountDiv](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/count-div.mdx)
- [GenomicRangeQuery](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/genomic-range-query.mdx)
- [MinAvgTwoSlice](https://github.com/jglchen/codility-solutions-javascript/blob/main/5-Prefix_Sums/min-avg-two-slice.mdx)

Lesson 6 Sorting

- [Distinct](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/distinct.mdx)
- [MaxProductOfThree](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/max-product-of-three.mdx)
- [Triangle](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/triangle.mdx)
- [NumberOfDiscIntersections](https://github.com/jglchen/codility-solutions-javascript/blob/main/6-Sorting/number-of-disc-intersections.mdx)

Lesson 7 Stacks and Queues

- [Brackets](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/brackets.mdx)
- [Fish](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/fish.mdx)
- [Nesting](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/nesting.mdx)
- [StoneWall](https://github.com/jglchen/codility-solutions-javascript/blob/main/7-Stacks_and_Queues/stone-wall.mdx)

Lesson 8 Leader

- [Dominator](https://github.com/jglchen/codility-solutions-javascript/blob/main/8-Leader/dominator.mdx)
- [EquiLeader](https://github.com/jglchen/codility-solutions-javascript/blob/main/8-Leader/equi-leader.mdx)

Lesson 9 Maximum slice problem

- [MaxProfit](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-profit.mdx)
- [MaxSliceSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-slice-sum.mdx)
- [MaxDoubleSliceSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/9-Maximum_slice_problem/max-double-slice-sum.mdx)

Lesson 10 Prime and composite numbers

- [CountFactors](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/count-factors.mdx)
- [MinPerimeterRectangle](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/min-perimeter-rectangle.mdx)
- [Flags](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/flags.mdx)
- [Peaks](https://github.com/jglchen/codility-solutions-javascript/blob/main/10-Prime_and_composite_numbers/peaks.mdx)

Lesson 11 Sieve of Eratosthenes

- [CountNonDivisible](https://github.com/jglchen/codility-solutions-javascript/blob/main/11-Sieve_of_Eratosthenes/count-non-divisible.mdx)
- [CountSemiprimes](https://github.com/jglchen/codility-solutions-javascript/blob/main/11-Sieve_of_Eratosthenes/count-semiprimes.mdx)

Lesson 12 Euclidean algorithm

- [ChocolatesByNumbers](https://github.com/jglchen/codility-solutions-javascript/blob/main/12-Euclidean_algorithm/chocolates-by-numbers.mdx)
- [CommonPrimeDivisors](https://github.com/jglchen/codility-solutions-javascript/blob/main/12-Euclidean_algorithm/common-prime-divisors.mdx)

Lesson 13 Fibonacci numbers

- [FibFrog](https://github.com/jglchen/codility-solutions-javascript/blob/main/13-Fibonacci_numbers/fib-frog.mdx)
- [Ladder](https://github.com/jglchen/codility-solutions-javascript/blob/main/13-Fibonacci_numbers/ladder.mdx)

Lesson 14 Binary search algorithm

- [MinMaxDivision](https://github.com/jglchen/codility-solutions-javascript/blob/main/14-Binary_search_algorithm/min-max-division.mdx)
- [NailingPlanks](https://github.com/jglchen/codility-solutions-javascript/blob/main/14-Binary_search_algorithm/nailing-planks.mdx)

Lesson 15 Catepillar method

- [AbsDistinct](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/abs-distinct.mdx)
- [CountDistinctSlices](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/count-distinct-slices.mdx)
- [CountTriangles](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/count-triangles.mdx)
- [MinAbsSumOfTwo](https://github.com/jglchen/codility-solutions-javascript/blob/main/15-Caterpillar_method/min-abs-sum-of-two.mdx)

Lesson 16 Greedy algorithms

- [MaxNonoverlappingSegments](https://github.com/jglchen/codility-solutions-javascript/blob/main/16-Greedy_algorithms/max-nonoverlapping-segments.mdx)
- [TieRopes](https://github.com/jglchen/codility-solutions-javascript/blob/main/16-Greedy_algorithms/tie-ropes.mdx)

Lesson 17 Dynamic prograaming

- [NumberSolitaire](https://github.com/jglchen/codility-solutions-javascript/blob/main/17-Dynamic_programming/number-solitaire.mdx)
- [MinAbsSum](https://github.com/jglchen/codility-solutions-javascript/blob/main/17-Dynamic_programming/min-abs-sum.mdx)