Letter Combinations
Trung bình⚡ Thuật toán 5000ms 256MB
Letter Combinations
Đề bài
Tổ hợp chữ cái từ số điện thoại.
Ví dụ
Ví dụ 1:
Input: "23"
Output: ["ad","ae","af","bd","be","bf","cd","ce","cf"]
Ví dụ 2:
Input: ""
Output: []
Ràng buộc
- Dữ liệu đầu vào luôn hợp lệ
Case 1
Input = "23"
Output = ["ad","ae","af","bd","be","bf","cd","ce","cf"]
Case 2
Input = ""
Output = []