Cadence Design Systems interview question

Deleting a node(iterative and recursive) in linkedlist