Skip to content

Instantly share code, notes, and snippets.

@AllPurposeName
Last active August 29, 2015 14:20
Show Gist options
  • Save AllPurposeName/f20faea97fecc2a1db65 to your computer and use it in GitHub Desktop.
Save AllPurposeName/f20faea97fecc2a1db65 to your computer and use it in GitHub Desktop.
Lightning Talk BIG O
BIG O
* Krista's right, DSA
--Landau's Symbol: basically rate of growth == order
--Knowing what we're measuring: Complexity vs Performance
--O vs Theta vs Omega
--Cases for and cases against significance of Big O
--How to read Big O notation
* LLLLLIVE coding
--~ Four Examples such as:
O(n) 1mil.times { array << iteration }; array.find{|num| num = 999_999 },
or
O(n * m) 1mil.times { array << iteration }; 1mil.times { array2 << array.find{|num| num == -iteration } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment