Showing 3 of 12 questions
You're given a row of seats, some occupied and some empty. Find the best seat to maximize the distance to the nearest person.
#1. Maximize Distance to Closest Person
Determine if a binary tree is symmetric around its center. This means the left and right subtrees are mirror images of each other.
#2. Symmetric Tree
Find two numbers in a given array that add up to a specific target value, and return their indices. Essentially, you need to efficiently locate the pair that satisfies the sum requirement.
#3. Two Sum
Page 1 of 1 · 12 total