Performance: ArrayList vs. LinkedList---Adding An Element At The First Position #java #shorts

preview_player
Показать описание


#airhacks
Рекомендации по теме
Комментарии
Автор

Seriously appreciate it man thanks for doing whatever you're doing and please continue doing it. ❤

This.Object
Автор

Thanks for this, I hope this is ur new series about different collections/data structures in Java.
Also if u get a chance please do talk about practical uses of Stacks in java. I'm pretty new to this and it seems like it is only used in DSA and algo problems.
Thanks.

AJ-fbpk
Автор

I think it would be interesting to see the performance difference if you already preallocate an ArrayList of the right number of elements.

LinkedList are just a terrible data structure and should be avoided at all cost, there is a nice presentation from the c++ creator here on yt that explains it.

TheHeartOfTheEvil
Автор

yeah seriously unique content, need to know the details to consider ourselves professionals

SunMoonBrothers