+ 2

LinkedList Java SpringBoot

Does anyone have an example of a real LinkedList use case on a Spring boot application? I use ArrayList, Set, HashMap but Never used LinkedList.

17th Sep 2022, 12:04 PM
Roland
Roland - avatar
3 odpowiedzi
+ 1
As far I know, best used example is "music player". Also used in stacks, queues, graphs implementation, root map applications .. edit : an example : Linkedlist used in database application... https://www.toptal.com/spring/beginners-guide-to-mvc-with-spring-framework
17th Sep 2022, 2:12 PM
Jayakrishna 🇮🇳
+ 2
You can choose anyone of those, depends on the contest. ArrayList is faster in storing and accessing data. LinkedList is faster in manipulation of data. So better to choose, depends on efficient one on the contest.. https://www.tutorialspoint.com/differences-between-arraylist-and-linkedlist-in-java#
17th Sep 2022, 12:31 PM
Jayakrishna 🇮🇳
+ 1
Jayakrishna🇮🇳 thanks for your anwers. I know the theory but I am looking for an example of concrete use in a web application. I have never seen it used today.
17th Sep 2022, 1:20 PM
Roland
Roland - avatar