Binary Trees vs. Linked Lists vs. Hash Tables
问题 I'm building a symbol table for a project I'm working on. I was wondering what peoples opinions are on the advantages and disadvantages of the various methods available for storing and creating a symbol table. I've done a fair bit of searching and the most commonly recommended are binary trees or linked lists or hash tables. What are the advantages and or disadvantages of all of the above? (working in c++) 回答1: Your use case is presumably going to be "insert the data once (e.g., application