Vishal neekhara·Jun 9, 2020Amortized time complexity with HashMapIn many data structure you won’t run out of space for example arraylist , Hashmap , hashset because there size grow as you insert elements.