Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Blankj/awesome-java-leetcode
/ printSpace
Method
printSpace
src/com/blankj/structure/TreeNode.java:77–81 ·
view source on GitHub ↗
(int count)
Source
from the content-addressed store, hash-verified
75
}
76
77
private
static
void
printSpace(
int
count) {
78
for
(
int
i = 0; i < count; i++) {
79
System.out.printf(space);
80
}
81
}
82
83
private
static
void
printNode(
int
val) {
84
StringBuilder res =
new
StringBuilder(val +
"<"
);
Callers
1
print
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected