Created
March 31, 2017 19:44
-
-
Save mikeymaio/b25bd594ff127c76b4308eb1d05a8405 to your computer and use it in GitHub Desktop.
Big-O Drills
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
isEven has 0(1) run time complexity | |
areYouHere has O(n^2) run time complexity | |
doubleArrayValues has O(n) run time complexity | |
naiveSearch has O(n) run time complexity | |
createPairs has O(n^2) run time complexity | |
generateFib has O(n) run time complexity | |
efficientSearch has O(log n) run time complexity | |
findRandomElement has O(1) run time complexity | |
isPrime has O(n) run time complexity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍