Micro Focus interview question

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