0
Want to delete the second last element from link list is this algorithm right or not
Algorithms:. 1- Ptr=start; 2- If ptr->next == NULL, then: Print "Underflow" Exit; 3- Repeat Step 4 while ptr->next->next!=NULL: 4:- sav= Ptr; Ptr=ptr->next; 5: Delete Ptr . 6:- Exit.
5 Answers