Letter Combinations of a Phone Number

Solution Code

Time Complexity

O(4^N * N)

Space Complexity

O(N)