Can anyone perform a code review on this code snippet

Question : Delete a node at any arbitrary position in a Linked List.
Code available at : https://ide.codingblocks.com/s/64228.
Thank you in advance.

Hi Pratik, specifically saying for delete function, your function is not deleting the starting / 0th node.
Also if it is meant to delete only the middle nodes then it shall not be deleting the tail node as well but it is deleting tail node. Fix that bug please.
Rest everything is fine :slight_smile:

1 Like