Hello. I need an efficient data structure to get the smallest value of a cluttered vector, where:
- The vector can not be ordered.
- The vector must be able to update the values in log (n).
- The search for the smallest value of the vector must be in log (n).
Is there a data structure that meets the requirements?
I thank you for the answer and the examples:)