Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/careercup/ctci
/ drawLine
Method
drawLine
java/Chapter 9/Question9_9/Question.java:71–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
69
}
70
71
private
static
void
drawLine() {
72
StringBuilder line =
new
StringBuilder();
73
for
(
int
i=0;i<GRID_SIZE*2+1;i++)
74
line.append(
'-'
);
75
System.out.println(line.toString());
76
}
77
78
79
Callers
1
printBoard
Method · 0.95
Calls
2
append
Method · 0.80
toString
Method · 0.45
Tested by
no test coverage detected