最新 最热

LeetCode 0404 - Sum of Left Leaves

Find the sum of all left leaves in a given binary tree.

2021-08-11
0

LeetCode 0108 - Convert Sorted Array to Binary Search Tree

Given an array where elements are sorted in ascending order, convert it to a height balanced BST.

2021-08-11
0

LeetCode 0109 - Convert Sorted List to Binary Search Tree

Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.

2021-08-11
0

LeetCode 0110 - Balanced Binary Tree

Given a binary tree, determine if it is height-balanced.

2021-08-11
0

LeetCode 0112 - Path Sum

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.

2021-08-11
0

LeetCode 0113 - Path Sum II

Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum.

2021-08-11
1

LeetCode 0114 - Flatten Binary Tree to Linked List

Given a binary tree, flatten it to a linked list in-place.

2021-08-11
1

LeetCode 0099 - Recover Binary Search Tree

Two elements of a binary search tree (BST) are swapped by mistake.

2021-08-11
1

LeetCode 0100 - Same Tree

Given two binary trees, write a function to check if they are the same or not.

2021-08-11
0

LeetCode 0101 - Symmetric Tree

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).

2021-08-11
0