err: segmentation fault
I am trying to make a take input function where the linked list is not reversed
I am doing so by calling insertAtTail instead of insertATHead
link:
err: segmentation fault
I am trying to make a take input function where the linked list is not reversed
I am doing so by calling insertAtTail instead of insertATHead
link:
I understood what the problem is.
But the deleteKey function is giving segmentation error if the key is at head