SyntaxFix
Write A Post
Hire A Developer
Questions
O(1) - Deleting an element from a doubly linked list. e.g.
typedef struct _node { struct _node *next; struct _node *prev; int data; } node; void delete(node **head, node *to_delete) { . . . }