MCPcopy Create free account
hub / github.com/careercup/ctci / concat

Method concat

java/Chapter 17/Question17_13/QuestionB.java:35–38  ·  view source on GitHub ↗
(BiNode x, BiNode y)

Source from the content-addressed store, hash-verified

33 }
34
35 public static void concat(BiNode x, BiNode y) {
36 x.node2 = y;
37 y.node1 = x;
38 }
39
40 public static void printLinkedListTree(BiNode root) {
41 for (BiNode node = root; node != null; node = node.node2) {

Callers 1

convertMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected