I was reading about Big O notation in java , I found the following questions, I don't understand the answers of them.
(a) What is the worst-case asymptotic running-time for the best algorithm for finding something in a dictionary implemented with a sorted array? O(log n)
(b) What is the best-case asymptotic running-time for the best algorithm for finding something in a dictionary implemented with a sorted array? O(1)
(c) What is the worst-case asymptotic running-time for the best algorithm for finding something in a dictionary implemented with a sorted linked list? O(n)
(d) What is the best-case asymptotic running-time for the best algorithm for finding something in a dictionary implemented with a sorted linked list? O(1)
(e) Given a binary search tree, find which value is the minimum value and delete it. O(n)
(f) Given a binary search tree, find which value is the median value, and delete that value. O(n)
Can you explain to me the answers, and what do they mean by that specific algorithm in the first four questions?
Thanks