Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 618 Bytes

README.md

File metadata and controls

12 lines (12 loc) · 618 Bytes

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]