Pregunta de entrevista de SAP

1. How do you handle synchronization across different JVM's 2. Implement LRU Cache 3. What data structure would you use for storing words of a dictionary

Respuesta de la entrevista

Anónimo

5 ene 2017

1. I was clueless about this until I faced this question. Googling will point you to stacktrace which will give you a very good answer. 2. Use a HashMap and Prioirity Queue (implement using Doubly Linked List) 3. Use Trie DS

1