Showing 2 questions
Find the shortest path from the root to the nearest leaf node in a binary tree. In other words, determine the minimum depth of the given tree.
#1. Minimum Depth of Binary Tree
You're given a set of balloons represented by their start and end coordinates. Determine the minimum number of arrows needed to burst all the balloons.
#2. Minimum Number of Arrows to Burst Balloons
Page 1 of 1 · 2 total