employer cover photo

Beijing Rising Technology

Questa è la tua azienda?

Domanda di colloquio di Beijing Rising Technology

Given a node in a linked list, remove the next node which contains specific value.

Risposta di colloquio

Anonimo

12 ott 2012

This is a quite typical question, since what you need to do is to scan the list and find it. Also if the given node contains the specific value, we need to copy next node's value to this node and delete current node.