Abbreviation 1 - Using Bits
easy
1. You are given a word. 2. You have to generate all abbrevations of that word. Note - Use bit manipulation
Constraints
1 <= length of string <= 32
Format
Input
A string representing a word
Output
Check the sample ouput and question video.
Example
Sample Input
pep
Sample Output
pep
pe1
p1p
p2
1ep
1e1
2p
3
Question Video