coding180 icon

A doubly linked list: what is it?

Home > Interviews > PHP

robort - 2022-10-03 03:09:35

A doubly linked list is a more complicated form of linked list where each node has a pointer to the node before it and the node after it in the sequence.
A node in a doubly linked list is made up of three elements: 

  • Node data
  • pointer for the following node in the chain (next pointer) 
  • identifier for the preceding node (previous pointer)


Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel