Coding problems
Algorithm problems with tests in Python, JavaScript, Java, Go and C++, checked on our server.
Left, Node, RightEasyCounting Search Tree ShapesMediumIs It a Search Tree?MediumTwo Mixed-Up NodesMediumIdentical TreesEasyMirror-Image TreeEasyTree Rows by DepthMediumSnake Through the Tree LevelsMediumTree HeightEasyTree From Pre-Order and In-Order WalksMediumTree From In-Order and Post-Order WalksMediumTree Levels From the Bottom UpMediumBalanced Tree from a Sorted ListEasyTree From a Sorted ChainMediumEvenly Grown TreeEasyNearest Leaf DepthEasyLeaf Path With a Given TotalEasyAll Leaf Paths With a Given TotalMediumTree Into a Right ChainMediumHeaviest Path in a TreeHardDigit Branch TotalsMediumParent Before ChildrenEasyChildren Before ParentEasyFlip a Tree Along Its Left SpineMediumThe Tree Seen From the RightMediumSize of a Packed TreeEasyMirror the TreeEasyK-th Smallest in a Search TreeMediumSame-Value SubtreesMediumPreorder of a Search TreeMediumRoutes from Root to LeavesEasyNearest Value in a Search TreeEasyK Keys Nearest to a TargetHardCounting Up Down the TreeMediumTree Columns, Top DownMediumChecking a Tree Record With Hash MarksMediumBiggest Search SubtreeMediumA Party Without Direct BossesMediumPeel the Leaves Round by RoundMediumLeft-Hand Leaves TotalEasyDownward Chains With a Given TotalMediumRemove a Key From a Search TreeMediumMost Frequent Values in a Search TreeEasyMost Common Subtree TotalMediumFirst Value on the Lowest RowMediumLargest Value on Each Tree LevelMediumTree From Bracket NotationMediumAdd Every Bigger KeyMediumLongest Path in a TreeEasyTree Outline, CounterclockwiseMedium
1 of 3 · 138 problems