Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 392 Bytes

Ex_1_3_18.md

File metadata and controls

29 lines (19 loc) · 392 Bytes
title date draft tags categories
Algorithm4 Java Solution 1.3.18
2019-07-04 05:47:10 +0800
false
JAVA
TECH
archives

1.3.18

Problem:

Suppose x is a linked-list node and not the last node on the list. What is the effect of the following code fragment?

x.next = x.next.next;

Solution:

delete the node following node x.

Reference: