Tag: treeset

  1. Java interview for developer. Collections. Part 3 - Maps and Trees

    This is the last part of java interview questions for collections. Here is part one and two. 13. In what case you could "lost" element in HashMap? This question is tricky, it's simple to understand, but it is not so transparent at the first glance. Let's imagine a case, when…

    on java collections map hash map treemap set treeset