Employeur impliqué
How do you implement a HashMap in java if suppose there was no java.util.HashMap class available.
Utilisateur anonyme
@NoRiddim, Can you elaborate the two dimensional approach? How do you store the row_index & column_index values?
write a class which can have two array list.one to store key and another to store value. use some indexing algorithm, to make good performance.
Instead of using 2 lists; which could make synchronizing (when adding/removing) these lists an overhead you could use a 2 dimensional array.
Tenez-vous au courant des dernières opportunités et profitez de conseils d’initiés en suivant les entreprises de vos rêves.
Obtenez des recommandations et des mises à jour personnalisées en démarrant vos recherches.