Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save GrimmOutlook/26b3b345dd612f068f6b9d8733d99059 to your computer and use it in GitHub Desktop.
Save GrimmOutlook/26b3b345dd612f068f6b9d8733d99059 to your computer and use it in GitHub Desktop.
Big O Drills
1. Even or Odd? - Constant
2. Are You Here? - Polynomial
3. Doubler - Constant (Linear)
4. Naive Search - Linear
5. Creating Pairs - Polynomial
6. Computing Fibonaccis - (Linear)
7. An Efficient Search - Linear (Logarithmic)
8. Random Element - Constant
9. Is it Prime? - (Linear)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment