From e8a1d62febf2195d49d0207f76cd82591fa24c31 Mon Sep 17 00:00:00 2001 From: Vinay Date: Sun, 26 May 2024 14:40:43 +0530 Subject: [PATCH] commit7 --- contrib/ds-algorithms/Linked-list.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/contrib/ds-algorithms/Linked-list.md b/contrib/ds-algorithms/Linked-list.md index 007674f..95350fd 100644 --- a/contrib/ds-algorithms/Linked-list.md +++ b/contrib/ds-algorithms/Linked-list.md @@ -199,17 +199,19 @@ check the list is empty otherwise shift the head to next node. # Print the list llist.printList() ``` +##Output +2 3 56 9 4 10 ## 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.
-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.
-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.
-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.
and more....