Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a master list of the Big-O notation for everything?

Is there a master list of the Big-O notation for everything? Data structures, algorithms, operations performed on each, average-case, worst-case, etc.

like image 594
raldi Avatar asked Oct 07 '08 21:10

raldi


Video Answer


3 Answers

Dictionary of Algorithms and Data Structures is a fairly comprehensive list, and includes complexity (Big-O) in the algorithms' descriptions. If you need more information, it'll be in one of the linked references, and there's always Wikipedia as a fallback.

like image 142
ephemient Avatar answered Oct 27 '22 12:10

ephemient


The Cormen book is more about teaching you how to prove what Big-O would be for a given algorithm, rather than rote memorization of algorithm to its Big-O performance. The former is far more valuable than the latter, and requires an investment on your part.

like image 27
Alan Avatar answered Oct 27 '22 13:10

Alan


Try "Introduction to Algorithms" by Cormen, Leisersen, and Rivest. If its not in there its probably not worth knowing.

like image 29
Oliver Hallam Avatar answered Oct 27 '22 12:10

Oliver Hallam