Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/careercup/ctci
/ concat
Method
concat
java/Chapter 17/Question17_13/QuestionA.java:33–36 ·
view source on GitHub ↗
(BiNode x, BiNode y)
Source
from the content-addressed store, hash-verified
31
}
32
33
public
static
void
concat(BiNode x, BiNode y) {
34
x.node2 = y;
35
y.node1 = x;
36
}
37
38
public
static
void
printLinkedListTree(BiNode root) {
39
for
(BiNode node = root; node != null; node = node.node2) {
Callers
1
convert
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected