Question: What data structure would you use to implement a routing table? Suggest optimizations

Solution: Using content addressable memory and hash data structure. Further optimization can also be done.