2dbi
Home/AMD/Implement a Circular Doubly Linked List
AAMD·DSASDE-2Onsite – Coding 1

Implement a Circular Doubly Linked List

Problem

Implement a circular doubly linked list with insert, delete, and traverse. AMD reportedly probes pointer manipulation here.

Example

insert at head/tail, delete arbitrary node, traverse forward and backward

Constraints

  • Handle empty list and single-node edge cases

What AMD looks for

Correct pointer rewiring with no leaks or dangling references.

added 6 days ago
LeadersAccount