Given a string S, we can transform every letter individually to be lowercase or uppercase to create another string. Return a list of all possible strings we could create.
1 | Examples: |
Note:
Swill be a string with length between1and12.Swill consist only of letters or digits.
解法一:回溯
1 | class Solution { |
解法二:bit manipulation
1 | class Solution { |