Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 353 Bytes

File metadata and controls

30 lines (20 loc) · 353 Bytes
title Algorithm4 Java Solution 1.3.22
date 2019-07-04 05:47:10 +0800
draft false
tags
JAVA
categories
TECH
archives

1.3.22

Problem:

Suppose that x is a linked list Node. What does the following code fragment do?

t.next = x.next;
x.next = t;

Solution:

insert node t after x

Reference: