Jungletronics
Published in

Jungletronics

DOUBLE LINKED LIST

This is a Doubly Linked List— Searching Algorithms Studies — #CSeries — Episode #07

This is the last episode of #CSeries.

This code was based on this book.

Beginning C From Novice to Professional 4th Edition Pg 418   Author Ivor Horton Chap 11 - Dynamic Memory Allocation for Structure

Features:

This is a Music Album implemented in a doubly list. Play backward is feaseble o/

Output

_______________!!!!!WELCOME TO JR'PLAYLIST!!!!'_________________ 
Do you What to enter a Track now (Y or N)?Y
Please enter the Track Number: 1
Please enter the Artist Name: Frank Sinatra
Please enter the Music Name: Ive Got You Under My Skin
Please enter the Track Duration (sec): 457
Do you What to enter a Track now (Y or N)?Y
Please enter the Track Number: 2
Please enter the Artist Name: Caetano Veloso
Please enter the Music Name: Anjos Tronxos
Please enter the Track Duration (sec): 478
Do you What to enter a Track now (Y or N)?N
You have Entered these Musics: __________________________Tracks______List__________________________| Track | Artist Name | Music Title| Time(sec)|
------------------------------------------------------------------
| 2 | Caetano Veloso | Anjos Tronxos | 478 |
| 1 | Frank Sinatra | Ive Got You Under My Skin | 457 | ____________________________________________________________________

Here is the Code

Applications of Doubly Linked List:

The link fields of a doubly linked list node are often called next and previous or forward and backward. The references stored in the link fields are usually implemented as pointers, but (as in any linked data structure) they may also be address offsets or indices into an array where the nodes live.(Wikipedia)

The next step, next project, let’s investigate let’s change the subject lol

That’s all, folks! Thanks for support! see you around…

👉Code link (Enjoy o/)

References & Credits:

Vinicius Pozzobon BorinPhD Student at UTFPR (CPGEI/LABSC — Wireless Communications) and Professor at UNINTER (face-to-face and distance ed.)

https://en.wikipedia.org/wiki/Doubly_linked_list

Posts Related:

00 Episode#CSeries — VS Code — How to Run C Right Away! A light IDE, Finally! — thank god, Bye MS VS Community app

01 Episode#CSeries — MUSIC ALBUM_V2.C — This is a Deque in C — Searching Algorithms Studies

02 Episode#CSeries — Hash tables in C — This is a HashTable in C — Searching Algorithms Studies

03 Episode#CSeries — University Catalog V1 — This is a HashTable — Searching Algorithms Studies

04 Episode#CSeries — Bubble Sorting (Ascendant Algorithm) — This is a Simple Sorting — Searching Algorithms Studies

05 Episode#CSeries — Quick Sorting (Ascendant Algorithm) — This is a Quick Sorting — Searching Algorithms Studies

06 Episode#CSeries — Linear Search — This is a Linear — Searching Algorithms Studies

07 Episode#CSeries — Doubly Linked List — Searching Algorithms Studies(this one)

That’s All, Folks!

Edited: First Breath Search (FBS) Alogorithm👉Code link

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store