Skip to content

talgat-ruby/codility-lessons-javascript

Repository files navigation

Codility Lessons - Javascript

References

Installation

$ npm install

Test

Using jest

$ npm test

Description

Solutions for codility lessons in javascript. Please feel free to contribute.

Solutions

Lesson 1 - Iterations

BinaryGap

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson1_iterations/BinaryGap.js

Link to Report

https://app.codility.com/demo/results/trainingF5WJ2W-P96/

Lesson 2 - Arrays

OddOccurrencesInArray

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson2_arrays/OddOccurrencesInArray.js

Link to Report

https://app.codility.com/demo/results/trainingZ4B2XJ-8AS/

CyclicRotation

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson2_arrays/CyclicRotation.js

Link to Report

https://app.codility.com/demo/results/trainingANTA8N-THQ/

Lesson 3 - Time Complexity

FrogJmp

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson3_time_complexity/FrogJmp.js

Link to Report

https://app.codility.com/demo/results/trainingUMQM7T-NMD/

PermMissingElem

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson3_time_complexity/PermMissingElem.js

Link to Report

https://app.codility.com/demo/results/trainingH7B962-362/

TapeEquilibrium

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson3_time_complexity/TapeEquilibrium.js

Link to Report

https://app.codility.com/demo/results/trainingYS6XUW-DSE/

Lesson 4 - Counting Elements

PermCheck

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson4_counting_elements/PermCheck.js

Link to Report

https://app.codility.com/demo/results/trainingCNTYP4-RDE/

FrogRiverOne

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson4_counting_elements/FrogRiverOne.js

Link to Report

https://app.codility.com/demo/results/training5PWD9F-PE9/

MaxCounters

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson4_counting_elements/MaxCounters.js

Link to Report

https://app.codility.com/demo/results/training5T6ZHR-8ZK/

MissingInteger

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson4_counting_elements/MissingInteger.js

Link to Report

https://app.codility.com/demo/results/training86F8QY-JHX/

Lesson 5 - Prefix Sums

PassingCars

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson5_prefix_sums/PassingCars.js

Link to Report

https://app.codility.com/demo/results/trainingXE4UJW-CME/

GenomicRangeQuery

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson5_prefix_sums/GenomicRangeQuery.js

Link to Report

https://app.codility.com/demo/results/trainingNRWKMW-CSJ/

MinAvgTwoSlice

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson5_prefix_sums/MinAvgTwoSlice.js

Link to Report

https://app.codility.com/demo/results/trainingH4MVH3-G94/

CountDiv

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson5_prefix_sums/CountDiv.js

Link to Report

https://app.codility.com/demo/results/trainingP6XQJ7-KM7/

Lesson 6 - Sorting

MaxProductOfThree

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson6_sorting/MaxProductOfThree.js

Link to Report

https://app.codility.com/demo/results/trainingWJKGRA-8JV/

Distinct

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson6_sorting/Distinct.js

Link to Report

https://app.codility.com/demo/results/trainingBVMXV7-F9S/

Triangle

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson6_sorting/Triangle.js

Link to Report

https://app.codility.com/demo/results/training62TT8U-DCH/

Lesson 7 - Stacks and Queues

Brackets

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson7_stacks_and_queues/Brackets.js

Link to Report

https://app.codility.com/demo/results/trainingDYK3SU-2EQ/

Fish

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson7_stacks_and_queues/Fish.js

Link to Report

https://app.codility.com/demo/results/trainingZRRPA4-NVP/

Nesting

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson7_stacks_and_queues/Nesting.js

Link to Report

https://app.codility.com/demo/results/trainingG7NMTC-FKF/

StoneWall

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson7_stacks_and_queues/StoneWall.js

Link to Report

https://app.codility.com/demo/results/trainingDRUBXQ-4DF/

Lesson 8 - Leader

Dominator

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson8_leader/Dominator.js

Link to Report

https://app.codility.com/demo/results/training8RVGBH-APG/

EquiLeader

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson8_leader/EquiLeader.js

Link to Report

https://app.codility.com/demo/results/trainingH5UZED-QPT/

Lesson 9 - Maximum Slice Problem

MaxProfit

File

https://github.com/talgat-ruby/codility-lessons-javascript/blob/master/lesson9_maximum_slice_problem/MaxProfit.js

Link to Report

https://app.codility.com/demo/results/trainingAVHVTS-7GZ/

License

MIT

About

Codility lessons solution in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published