Big-O Algorithm Complexity Cheat Sheet
bigocheatsheet.com
Big-O Algorithm Complexity Cheat Sheet
1–10 of 136 posts
Re: Big-O Algorithm Complexity Cheat Sheet
#2Awesome. Next time I'm trying to pass some silicon valley interview, I'll have to look this up. Till then, I think I have more practical problems to worry about.
/trolling off
Re: Big-O Algorithm Complexity Cheat Sheet
#3In that case bubble sort and insertion sort should be green for the best-case time complexity ( O(n) vs. O(n log(n)) for quicksort/mergesort).
It might also be interesting to make the plot dynamic and allow the visitor to play with different implicit constants for the individual asymptotic bounds.
Re: Big-O Algorithm Complexity Cheat Sheet
#4If you don't understand something, spend a few hours and implement it.
"I hear and I forget. I see and I remember. I do and I understand."
- ConfuciousRe: Big-O Algorithm Complexity Cheat Sheet
#5Re: Big-O Algorithm Complexity Cheat Sheet
#6I'd rather ask a candidate to explain their favorite data structure to me and derive it's big-O complexity right then and there. Being able to regurgitate the correct answer doesn't count for anything in my book.
Re: Big-O Algorithm Complexity Cheat Sheet
#7http://www.scribd.com/doc/39557873/Data-Structures-Cheat-She...
Re: Big-O Algorithm Complexity Cheat Sheet
#8Re: Big-O Algorithm Complexity Cheat Sheet
#9There should also be a section about heaps and their operations. There are a huge number of ways to implement a heap (e.g. linked list, binary tree, or a more exotic structure like a binomial of fibonacci heap) and there are a lot of tradeoffs in complexity of different operations between them.