Any ideas to use linked lists. ... not markets or shopping lists. I WANT STHNG ELSE!! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Any ideas to use linked lists. ... not markets or shopping lists. I WANT STHNG ELSE!!

10th Sep 2017, 2:20 PM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar
9 Answers
+ 4
If you want to store something and you know that you will either go through it all and not access random elements, or you will add elements at the top a lot more than randomly accessing it A use example would be to implement either Stack or Queue, which can be used a lot (even if linked list is not necessarily the best option) Stack can be used to go backward on your browser while Queue can be used by your printer
10th Sep 2017, 2:47 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 3
Of course ! Which point ?
10th Sep 2017, 2:51 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 3
I wrote something but I dont know why it cant b posted.
10th Sep 2017, 4:10 PM
Azam
Azam - avatar
+ 3
stack is a special form of linked list in which we insert and read from one side (top). it's examples are browser history, recent items, Undo,Redo, in cell phone sms and call history, although these are accessible in an other way (scrollable ) but it is form of stack. in real life bangels, stack of plates etc
10th Sep 2017, 4:14 PM
Azam
Azam - avatar
+ 3
Each time you go from a webpage to another, you can press on a button to give back to the previous webpage To save the previous webpages, you use a stack and when you give back, you pop the top value
10th Sep 2017, 4:43 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 2
The use of stack or what it is ?
10th Sep 2017, 3:38 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
thx, can u plz clarify a bit more?
10th Sep 2017, 2:50 PM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar
0
the last one. stack ......
10th Sep 2017, 2:53 PM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar
0
the use of stack
10th Sep 2017, 4:18 PM
F.Heeh. 2nd Yr. Hebron University‏‎
F.Heeh. 2nd Yr. Hebron University‏‎ - avatar