Validation engine to check if deletion of an element in singly linked list works well.
SYNOPSIS:
- s1 is the original linked list of 10 randomly generated values, from which an element will be deleted
- s2 will be a copy of this original linked list which will be used in the designed Validation Engine
- Through user's selection, this engine can perform any one of the below 3 test cases-
Test case 1: Delete first index by giving index = 9
Test case 2: Delete any other element - user's choice
Test case 3: Delete last index by giving index = 4