Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class Node
import { Node } from "https://deno.land/x/masx200_leetcode_test@10.6.3/design-an-expression-tree-with-evaluate-function/index.ts";

Constructors

new
Node(
val?: string,
left?: Node | null,
right?: Node | null,
)

Methods

evaluate(): number