Q13)
What is the purpose of the following algorithm?
Steps:
1. ptr1 = AVAIL // Start from the beginning of the free pool
2. While (ptr 1--LINK != NULL) do
3.
ptr1 = ptr1-LINK
4. EndWhile
5. ptr1 -> LINK = PTR
6. PTR - LINK = NULL
>
7. Stop
a. Insertion at the given location.
b. Insertion at the end of the list.
c. Deletion at the beginning.
d. Deletion at the end.
Answers
Answered by
0
Answer:
don't know the answer sorry
Similar questions