Skip to content

Collection of practice code and solution challenges from Codility and LeetCode

Notifications You must be signed in to change notification settings

phillipsk/competitive-programming

Repository files navigation

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]

About

Collection of practice code and solution challenges from Codility and LeetCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published