Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice
/ TreeNode
Method
TreeNode
Leetcode/Java/BFS.java:9–9 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
TreeNode left;
8
TreeNode right;
9
TreeNode() {}
10
TreeNode(
int
val) { this.val = val; }
11
TreeNode(
int
val, TreeNode left, TreeNode right) {
12
this.val = val;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected