Wanted to know if it\'s good practice to do that and what would be the best way to do that? In my opinion, the get()/put() method is more efficient. ArrayList/LinkedList is O(1)