Hashset vs Treeset

I’ve always loved trees, that nice O(n*log(n)) and the tidiness of them. However, every software engineer I’ve ever known has asked me pointedly why I would use a TreeSet. From a CS background, I don’t think it matters all that much which you use, and I don’t care to mess around with hash functions and … Read more