Published onFebruary 25, 2022[LeetCode 102] Binary Tree Level Order TraversalTreeGiven the `root` of a binary tree, return the level order traversal of its nodes' values.
Published onFebruary 24, 2022[LeetCode 103] Binary Tree Zigzag Level Order TraversalTreeGiven the `root` of a binary tree, return the zigzag level order traversal of its nodes' values.
Published onFebruary 23, 2022[LeetCode 98] Validate Binary Search TreeTreeGiven the `root` of a binary tree, determine if it is a valid binary search tree (BST).
Published onFebruary 21, 2022[LeetCode 94] Binary Tree Inorder TraversalTreeGiven the `root` of a binary tree, return the inorder traversal of its nodes' values.
Published onFebruary 20, 2022[LeetCode 101] Symmetric TreeTreeGiven the `root` of a binary tree, check whether it is a mirror of itself (i.
Published onNovember 25, 2021[Tree] Max Root to Leaf SumTreeWrite a function, maxPathSum, that takes in the root of a binary tree that contains number values.
Published onNovember 24, 2021[Tree] Breadth First ValuesTreeWrite a function, breadthFirstValues, that takes in the root of a binary tree.
Published onNovember 24, 2021[Tree] Depth First ValuesTreeWrite a function, depthFirstValues, that takes in the root of a binary tree.
Published onNovember 24, 2021[Tree] Tree IncludesTreeWrite a function, treeIncludes, that takes in the root of a binary tree and a target value.
Published onNovember 24, 2021[Tree] Tree SumTreeWrite a function, treeSum, that takes in the root of a binary tree that contains number values.