Skip to content

Commit 2d09cc9

Browse files
authored
Update 0017-letter-combinations-of-a-phone-number.md
1 parent cdb1945 commit 2d09cc9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dsa-solutions/lc-solutions/0000-0099/0017-letter-combinations-of-a-phone-number.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
id: Letter Combinations of a Phone Number
2+
id: letter-combinations-of-a-phone-number
33
title: Letter Combinations of a Phone Number (LeetCode)
4-
sidebar_label: 0017-Letter-Combinations-of-a-Phone-Number
4+
sidebar_label: 0017 Letter Combinations of a Phone Number
55
tags:
66
- Back Tracking
77
- Mapping
@@ -39,6 +39,7 @@ Given a string containing digits from 2-9 inclusive, return all possible letter
3939
- **Output:** `["a","b","c"]`
4040

4141
### Constraints:
42+
4243
- `0 ≤ digits.length ≤ 4`
4344
- `0 ≤ digits.length ≤ 4digits[𝑖]`
4445
- `digits[i] is a digit in the range ['2', '9'].`
@@ -313,4 +314,4 @@ Here's a step-by-step algorithm for generating all possible letter combinations
313314
- Call the backtracking function with the initial index set to 0 and an empty string as the initial combination.
314315
- Return the list of combinations.
315316

316-
This algorithm ensures that all possible combinations are generated by exploring all valid paths through backtracking.
317+
This algorithm ensures that all possible combinations are generated by exploring all valid paths through backtracking.

0 commit comments

Comments
 (0)