Showing posts with label Analysis and Selection. Show all posts
Showing posts with label Analysis and Selection. Show all posts

Wednesday, February 11, 2009

Checklist before selecting the right data structure for a given problem

(i) Analysis the problem in order to determine resource constraints
(ii) Determine the basic operations that need to be supported, such as Insert/Remove/Search
(iii) Now, select the data structure that has minimum cost/benefits to support the required operations