Showing 3 of 8 questions
Imagine assigning airplane seats randomly. Given the number of passengers, determine the probability that the last passenger gets their originally assigned seat.
#1. Airplane Seat Assignment Probability
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.
#2. Two Sum
Simulate backspace operations on two strings and determine if the resulting strings are equal. Effectively, you need to compare strings after processing backspace characters.
#3. Backspace String Compare
Page 1 of 1 · 8 total