Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kunal-kushwaha/DSA-Bootcamp-Java
/ populate
Method
populate
lectures/20-trees/code/introduction/BST.java:56–60 ·
view source on GitHub ↗
(int[] nums)
Source
from the content-addressed store, hash-verified
54
}
55
56
public
void
populate(
int
[] nums) {
57
for
(
int
i = 0; i < nums.length; i++) {
58
this.insert(nums[i]);
59
}
60
}
61
62
public
void
populatedSorted(
int
[] nums) {
63
populatedSorted(nums, 0, nums.length);
Callers
1
main
Method · 0.95
Calls
1
insert
Method · 0.95
Tested by
no test coverage detected