Ask HN: Favorite Data Structures?
Are there any lesser-known or underused data structures that you think should get more attention?
I’m asking because I recently implemented a custom tree structure to simplify some financial operations, and it made the solution look way simpler (where otherwise it would have been quite a mess). Trees aren’t exactly rare, of course, but it made me really appreciate how powerful the right data structure can be for a given problem.