0

To me it seems like a Triemap saves memory compared to a Hashmap and can be used in all the scenarios a Hashmap is used. Why would you use a hashmap?

Josh
  • 386
  • 5
  • 14
  • 2
    I am not aware of any TrieMaps in Java. Are you confusing this with Scala perhaps? https://stackoverflow.com/questions/29499381/what-is-a-triemap-and-what-is-its-advantages-disadvantages-compared-to-a-hashmap – RaminS Jan 21 '19 at 23:12
  • 1
    Java doesn't have a Triemap! – AppleCiderGuy Jan 21 '19 at 23:30

0 Answers0