3 ms·LinkedList is terrible as the memory overhead is way too high - if you need something better use an ArrayDeque.by xxs 4y agoLinkedList is terrible as the memory overhead is way too high - if you need something better use an ArrayDeque.