Showing 2 questions
You are given a list of bombs, each with a range. Determine the maximum number of bombs you can detonate by strategically detonating a starting bomb and triggering chain reactions.
#1. Detonate the Maximum Bombs
Given a string of digits, return all possible letter combinations that the number could represent, using the typical phone keypad mapping. The goal is to generate all valid combinations in any order.
#2. Letter Combinations of a Phone Number