Micro Focus Interview Question

Reverse sentence Delete node in LL when node reference is given.