├── .gitignore ├── LICENSE ├── Lesson 1 – Time Complexity ├── FrogJmp.js ├── FrogJmp.spec.js ├── PermMissingElem.js ├── PermMissingElem.spec.js ├── TapeEquilibrium.js └── TapeEquilibrium.spec.js ├── Lesson 2 – Counting Elements ├── FrogRiverOne.js ├── FrogRiverOne.spec.js ├── MaxCounters.js ├── MaxCounters.spec.js ├── PermCheck.js └── PermCheck.spec.js ├── Lesson 3 – Prefix Sums ├── PassingCars.js └── PassingCars.spec.js ├── Lesson 4 – Sorting ├── Distinct.js ├── Distinct.spec.js ├── MaxProductOfThree.js ├── MaxProductOfThree.spec.js ├── Triangle.js └── Triangle.spec.js ├── Lesson 5 - Stacks and Queues ├── Brackets.js ├── Brackets.spec.js ├── Fish.js ├── Fish.spec.js ├── Nesting.js ├── Nesting.spec.js ├── StoneWall.js └── StoneWall.spec.js ├── Lesson 6 - Leader ├── Dominator.js ├── Dominator.spec.js ├── EquiLeader.js └── EquiLeader.spec.js ├── Lesson 7 - Maximum slice problem ├── MaxProfit.js ├── MaxProfit.spec.js ├── MaxSliceSum.js └── MaxSliceSum.spec.js ├── README.md └── package.json /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | /node_modules/ 3 | *.log -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/LICENSE -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/FrogJmp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/FrogJmp.js -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/FrogJmp.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/FrogJmp.spec.js -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/PermMissingElem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/PermMissingElem.js -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/PermMissingElem.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/PermMissingElem.spec.js -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/TapeEquilibrium.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/TapeEquilibrium.js -------------------------------------------------------------------------------- /Lesson 1 – Time Complexity/TapeEquilibrium.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 1 – Time Complexity/TapeEquilibrium.spec.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/FrogRiverOne.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/FrogRiverOne.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/FrogRiverOne.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/FrogRiverOne.spec.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/MaxCounters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/MaxCounters.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/MaxCounters.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/MaxCounters.spec.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/PermCheck.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/PermCheck.js -------------------------------------------------------------------------------- /Lesson 2 – Counting Elements/PermCheck.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 2 – Counting Elements/PermCheck.spec.js -------------------------------------------------------------------------------- /Lesson 3 – Prefix Sums/PassingCars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 3 – Prefix Sums/PassingCars.js -------------------------------------------------------------------------------- /Lesson 3 – Prefix Sums/PassingCars.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 3 – Prefix Sums/PassingCars.spec.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/Distinct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/Distinct.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/Distinct.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/Distinct.spec.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/MaxProductOfThree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/MaxProductOfThree.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/MaxProductOfThree.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/MaxProductOfThree.spec.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/Triangle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/Triangle.js -------------------------------------------------------------------------------- /Lesson 4 – Sorting/Triangle.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 4 – Sorting/Triangle.spec.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Brackets.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Brackets.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Brackets.spec.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Fish.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Fish.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Fish.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Fish.spec.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Nesting.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Nesting.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/Nesting.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/Nesting.spec.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/StoneWall.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/StoneWall.js -------------------------------------------------------------------------------- /Lesson 5 - Stacks and Queues/StoneWall.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 5 - Stacks and Queues/StoneWall.spec.js -------------------------------------------------------------------------------- /Lesson 6 - Leader/Dominator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 6 - Leader/Dominator.js -------------------------------------------------------------------------------- /Lesson 6 - Leader/Dominator.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 6 - Leader/Dominator.spec.js -------------------------------------------------------------------------------- /Lesson 6 - Leader/EquiLeader.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 6 - Leader/EquiLeader.js -------------------------------------------------------------------------------- /Lesson 6 - Leader/EquiLeader.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 6 - Leader/EquiLeader.spec.js -------------------------------------------------------------------------------- /Lesson 7 - Maximum slice problem/MaxProfit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 7 - Maximum slice problem/MaxProfit.js -------------------------------------------------------------------------------- /Lesson 7 - Maximum slice problem/MaxProfit.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 7 - Maximum slice problem/MaxProfit.spec.js -------------------------------------------------------------------------------- /Lesson 7 - Maximum slice problem/MaxSliceSum.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 7 - Maximum slice problem/MaxSliceSum.js -------------------------------------------------------------------------------- /Lesson 7 - Maximum slice problem/MaxSliceSum.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/Lesson 7 - Maximum slice problem/MaxSliceSum.spec.js -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/janantala/codility/HEAD/package.json --------------------------------------------------------------------------------