+ 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.
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
+ 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#
+ 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.