Friday, 25 January 2013

Algorithm for Delete a node at the Beginning of a Linked List

ALGORITHM NAME: DELETE_BEGIN_LL(&START)

1.start
2.If start=NULL
                1.Print Linkedlist is Empty
3.Else
                1.temp=start
                2.start=start->link
                3.Remove node pointed by temp
4.End if
5.stop

No comments:

Post a Comment