:
1) . , , - .., . , / . .
2) It makes no sense to implement a complex data structure if you do not need it. The first question you should ask yourself: do you really need efficiency: for a collection containing <50,000 elements, I really doubt that you will see a noticeable difference in memory, processor or performance looking for your keys with a fantastic data structure than direct linear search.
source
share