Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ashishps1/awesome-leetcode-resources
/
Class
patterns/javascript/levelOrderTraversal.js:2–2 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Definition for a binary tree node.
2
class
TreeNode {
3
constructor(val) {
4
this.val = val;
5
this.left = this.right = null;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected