Deleting a Node from a Linked List

Here are the structs representing the list [3,5,8,10,11]

Suppose we want to delete the Node struct containing 8.

Index