Write an algorithm to delete a node from the beginning of doubly linked list.
Answers
Answered by
0
Answer:
Algorithm
STEP 1: IF HEAD = NULL.
STEP 2: SET PTR = HEAD.
STEP 3: SET HEAD = HEAD → NEXT.
STEP 4: SET HEAD → PREV = NULL.
STEP 5: FREE PTR.
STEP 6: EXIT.
Explanation:
Mark me as briliant please
Similar questions
Chemistry,
1 day ago
Math,
1 day ago
Computer Science,
1 day ago
Computer Science,
2 days ago
Chemistry,
2 days ago
Hindi,
8 months ago