/Codility

Solutions to Codility lessons using Java

Primary LanguageJava

Codility

Solutions to Codility lessons using Java

Please note

This repo is still a work in progress. I'm currently at lesson 9. More solutions will be added as soon as I find more time for tests. I am not 100% active on the subject, I just do these tests when I get bored and have enough spare time to put my head into work.

Also note

I have done Codility tests as a brain practice, and decided to permanently store my solutions for safe keeping here. This repo has very little (real-life projects) practical value. It's purpose is just to have some fun with algorithms and do some brain workout. If you have any suggestions, questions or a need for further explanation of solutions feel free to write to me and I'll be eager to respond as soon as possible.

Lessons and Tests List

Lesson 1 - Iterations

  1. BynaryGap

Lesson 2 - Arrays

  1. CyclicRotation
  2. OddOccurrencesInArray

Lesson 3 - Time Complexity

  1. PermMissingElem
  2. FrogJmp
  3. TapeEquilibrium

Lesson 4 - Counting Elements

  1. PermCheck
  2. FrogRiverOne
  3. MaxCounters
  4. MissingInteger

Lesson 5 - Prefix Sums

  1. PassingCars
  2. GenomicRangeQuery
  3. MinAvgTwoSlice
  4. CountDiv

Lesson 6 - Sorting

  1. Distinct
  2. Triangle
  3. MaxProductOfThree
  4. NumberOfDiscIntersections

Lesson 7 - Stacks and Queues

  1. Brackets
  2. Nesting
  3. StoneWall
  4. Fish

Lesson 8 - Leader

  1. EquiLeader
  2. Dominator

Lesson 9 - Maximum slice problem (in progress)

  1. MaxSliceSum
  2. MaxProfit
  3. MaxDoubleSliceSum (will get to this one once I have enough time)