Domanda di colloquio di Samsung Electronics

delete a node from a linked list without getting a head pointer(sorted linked list)

Risposta di colloquio

Anonimo

15 lug 2020

assuming you are given a pointer to the node you have to delete:: node = next node. next nodenext delete next node.