ETS, Inc. interview question

Remove Nodes in LL