Amazon Phone Screen | sde2
Anonymous User
486

Design a class which works like a hash map and also maintains the insertion order.
implement 3 methods:
get()
put()
getInsertionOrder() (most imp) // return a list of keys

finally what will be the data type for this to make this generic?
Can anyone post a proper solution please?

Comments (3)