A data structure that models a hierarchical collection of nodes via links.

Given a binary tree, write a method to return an array containing the largest node values at each le...

Given a binary search tree like the one below, please write a function that will return true if it i...

Assume we're using a binary tree in writing a video game via [Binary Space Partitioning](https://en....

Given two binary trees, you are asked to merge them into a new binary tree. When you put one of them...

Here's a fun one: can you write a method to return the nodes of a binary tree in a zig zag level ord...

Let's implement a Binary Search Tree! Recall that a binary search tree, or a BST, is a binary tree t...

Write a method to determine how deep a binary tree goes. The tree's `depth` can be described as the ...

Can you invert a binary tree over its vertical axis? Given a binary tree like this: ``` 4 /...

This problem is a fun combination of the famous `Two Sum` problem combined with with a `binary searc...

Find the sum of all right leaves in a given binary tree. Leaves are defined as nodes with no childre...

You're given a binary search tree and two of its child nodes as parameters. Can you write a method `...

We're given an array of positive integers like the following: ```js [2, 1, 3, 2] ``` Let's say we'...

Many modern programming languages have the notion of a stream. A stream is a resource _that's broken...