https://github.com/phillipsk/competitive-programming
Collection of practice code and solution challenges from Codility and LeetCode
https://github.com/phillipsk/competitive-programming
Last synced: 5 months ago
JSON representation
Collection of practice code and solution challenges from Codility and LeetCode
- Host: GitHub
- URL: https://github.com/phillipsk/competitive-programming
- Owner: phillipsk
- Created: 2019-04-10T12:57:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T20:15:47.000Z (over 2 years ago)
- Last Synced: 2024-01-09T03:10:35.442Z (over 2 years ago)
- Language: Kotlin
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#### Competitive programming notes
#### Iterations
- Collections, Map, Filter --> BinaryGap **[Codility]**
#### Arrays
- Modulo operator, rotating within a Range, Indicies --> CyclicRotation **[Codility]**
- Array loop range, Sort, Step 2 --> OddOccurrencesInArray **[Codility]**
##### Time Complexity
- Math, Ceiling --> FrogJmp **[Codility]**
- Ordered list permutation, Find missing, `(n+1)*(n+2)/2` --> PermMissingElem **[Codility]**
- Max minimal difference among array elements --> TapeEquilibrium **[Codility]**
##### Counting Elements
- Hash Set, .withIndex, `n * (n+1)/ 2` --> FrogRiverOne **[Codility]**