Pregunta de entrevista de Carelon Global Solutions

what is main difference betn linkedHashMap and hashMap?where should we use them?

Respuesta de la entrevista

Anónimo

4 jul 2019

linked hashmap imps doublyLinked list - hm imps singlyLinkedList linked hashmap is faster in case of data manipulation & later is slower in same scenario linked hashmap is slower in data retrieval & later is faster it takes more memory later takes less memory