Practice
1948 problems, in the order the course teaches them. Every one runs on a real compiler against real test cases.
Start here
1. Print Hello World
Fundamentals · Foundation
0 / 1948
solved
40 of 1948
Trees & Binary Search Trees
0 of 40- Not tried321Height of a TreeFoundationno data
- Not tried322Count the Nodes in a TreeFoundationno data
- Not tried323Sum of All ValuesFoundationno data
- Not tried324Largest Value in the TreeFoundationno data
- Not tried325Count the LeavesFoundationno data
- Not tried326Preorder TraversalFoundationno data
- Not tried327Inorder TraversalCoreno data
- Not tried328Postorder TraversalCoreno data
- Not tried329Level Order TraversalCoreno data
- Not tried330Is It a Search TreeChallengeno data
- Not tried331Search a Binary Search TreeFoundationno data
- Not tried332Smallest Value in a Search TreeFoundationno data
- Not tried333Diameter of a TreeChallengeno data
- Not tried334Is the Tree BalancedChallengeno data
- Not tried335Sum of Each RowCoreno data
- Not tried336Left View of a TreeCoreno data
- Not tried337Right View of a TreeCoreno data
- Not tried338Sum of the LeavesFoundationno data
- Not tried339Best Path from Root to LeafCoreno data
- Not tried340How Many Nodes at Depth KFoundationno data
- Not tried341Mirror the TreeCoreno data
- Not tried342Is the Tree SymmetricChallengeno data
- Not tried343Kth Smallest in a Search TreeCoreno data
- Not tried344Values Inside a RangeFoundationno data
- Not tried345Is There a Path Adding to TCoreno data
- Not tried346Lowest Common AncestorChallengeno data
- Not tried347Nodes With Two ChildrenFoundationno data
- Not tried348Nodes With Exactly One ChildFoundationno data
- Not tried349Zigzag Level OrderChallengeno data
- Not tried350Value at the Deepest LeafCoreno data
- Not tried351Are Two Trees IdenticalCoreno data
- Not tried352How Deep Is a ValueFoundationno data
- Not tried353Sum at One DepthFoundationno data
- Not tried354Distance Between Two NodesChallengeno data
- Not tried355Nodes Exactly K AwayChallengeno data
- Not tried356Best Path AnywhereChallengeno data
- Not tried357Largest Value Below XCoreno data
- Not tried358Is the Tree CompleteChallengeno data
- Not tried359Size of a SubtreeFoundationno data
- Not tried360Insert Into a Search TreeCoreno data