Asked • 06/21/19

Can we implement a doubly-linked list using a single pointer?

I want to use a structure like: struct node { char[10] tag; struct node *next; }; I want to use the above structure to create a doubly-linked list. Is that possible and if yes, then how I can achieve it?

4 Answers By Expert Tutors

By:

Patrick M. answered • 03/29/20

Tutor
New to Wyzant

Engineer with 10+ years of experience.

William M. answered • 12/14/19

Tutor
5 (51)

Experienced College/HS teacher/tutor specialties: Python, Java, C++

Americo M. answered • 03/30/19

Tutor
5 (12)

Senior Software Engineer with 30 years of experience

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.