Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apna-college/Alpha
/ print
Method
print
12_LinkedList.java/DoubleLL.java:32–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
31
//print
32
public
void
print() {
33
Node temp = head;
34
while
(temp != null) {
35
System.out.print(temp.data +
"<->"
);
36
temp = temp.next;
37
}
38
System.out.println(
"null"
);
39
}
40
41
//remove - removeLast
42
public
int
removeFirst() {
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected