Computer Science, asked by rudra9t2king, 2 days ago

Write an algorithm to delete a node from the beginning of doubly linked list.​

Answers

Answered by poojashukla1911
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