Author |
Topic: Skiena Find-Minimum(Q) in O(1) - How? (Read 2347 times) |
|
Ved
Junior Member
Gender:
Posts: 53
|
|
Skiena Find-Minimum(Q) in O(1) - How?
« on: Aug 28th, 2011, 7:58am » |
Quote Modify
|
Skiena's 'Algorithm Design Manual' (2nd Ed.) Page: 85 has the following : "The unsorted array dictionary implemented insertion and deletion on constant time and search and minimum in linear time"...after this there is a table that shows : Unsorted Array Sorted Array Balanced Tree Find-Minimum(Q) O(1) O(1) O(log n) Unsorted array O(1) for findinng minimum seems wrong to me (and contradicts the earlier statement on the same page) Is this is an unreported erratum ?
|
|
IP Logged |
|
|
|
|