kopia lustrzana https://github.com/animator/learn-python
commit7
rodzic
297d68fadb
commit
e8a1d62feb
|
@ -199,17 +199,19 @@ check the list is empty otherwise shift the head to next node.
|
||||||
# Print the list
|
# Print the list
|
||||||
llist.printList()
|
llist.printList()
|
||||||
```
|
```
|
||||||
|
##Output
|
||||||
|
2 3 56 9 4 10
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Real Life uses of Linked List
|
## Real Life uses of Linked List
|
||||||
Music Player – Songs in the music player are linked to the previous and next songs. So you can play songs either from starting or ending of the list.
|
1. Music Player – Songs in the music player are linked to the previous and next songs. So you can play songs either from starting or ending of the list.
|
||||||
<br>
|
<br>
|
||||||
GPS navigation systems- Linked lists can be used to store and manage a list of locations and routes, allowing users to easily navigate to their desired destination.
|
2. GPS navigation systems- Linked lists can be used to store and manage a list of locations and routes, allowing users to easily navigate to their desired destination.
|
||||||
<br>
|
<br>
|
||||||
Task Scheduling- Operating systems use linked lists to manage task scheduling, where each process waiting to be executed is represented as a node in the list.
|
3. Task Scheduling- Operating systems use linked lists to manage task scheduling, where each process waiting to be executed is represented as a node in the list.
|
||||||
<br>
|
<br>
|
||||||
Speech Recognition- Speech recognition software uses linked lists to represent the possible phonetic pronunciations of a word, where each possible pronunciation is represented as a node in the list.
|
4. Speech Recognition- Speech recognition software uses linked lists to represent the possible phonetic pronunciations of a word, where each possible pronunciation is represented as a node in the list.
|
||||||
<br>
|
<br>
|
||||||
and more....
|
and more....
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue