Re:Ask YC: Data structure or Algorithm selection for a problem?
by cperciva on Wednesday December 19, 2007 @09:29PM
(#91371)
To quote Hofstadter: Mu.
Particular algorithms operate on particular data structures; a binary search on a sorted list makes sense, while a binary search on an unsorted list is meaningless. It doesn't make any sense to have one of "a good algorithm" or "a good data structure" without the other.
Particular algorithms operate on particular data structures; a binary search on a sorted list makes sense, while a binary search on an unsorted list is meaningless. It doesn't make any sense to have one of "a good algorithm" or "a good data structure" without the other.