Given a string, find all permutations by changing the case of each letter. Digits and symbols remain unchanged.
{
"s": "a1b2"
}[
"a1b2",
"a1B2",
"A1b2",
"A1B2"
]{
"s": "ab"
}[
"ab",
"aB",
"Ab",
"AB"
]{
"s": "3z4"
}[
"3z4",
"3Z4"
]Sign in to Run Code and Submit