An XCode Playground containing a few soultions to the lessons on Codility.com.
All solutions written in Swift, most if not all solutions score 100%.
- Lesson 1: Iterations - Binary Gap
- Lesson 2: Arrays - CyclicRotation
- Lesson 2: Arrays - OddOccurrencesInArray
- Lesson 3: Time Complexity - FrogJmp
- Lesson 3: Time Complexity - PermMissingElem
- Lesson 3: Time Complexity - TapeEquilibrium
- Lesson 4: Counting Elements - FrogRiverOne
- Lesson 4: Counting Elements - MaxCounters
- Lesson 4: Counting Elements - MissingInteger
- Lesson 4: Counting Elements - PermCheck
- Lesson 5: Prefix Sums - CountDiv
- Lesson 5: Prefix Sums - GenomicRangeQuery
- Lesson 6: Sorting - Distinct
- Lesson 6: Sorting - MaxProductOfThree