Tradebot interview question

What is the difference between a treemap and a hashmap?

Interview Answer

Anonymous

22 Apr 2018

Hashmaps cannot have null values. Also, treemaps maintain ascending order.