Let Partner1 Name be PlayerOne and Partner2 Name be PlayerTwo
- Remove the common characters from PlayerOne and PlayerTwo:
- Here removed common characters are (p, l, a, y, e, r, o)
- Count characters which are left (n, e, t, w) = 4
- Here, FLAMES count = 4
- Then we start count from left up to flames count 4. Then remove the letter which at the position 4. Here, it is 'M'. So the letters become:
FLAMES --> FLAES - Then we start count again after from the letter which is removed ie, from 'E'. So the next character to remove is 'L'. So our letters become:
FLAES --> FAES
After next step:
FAES --> AES
Then:
AES --> ES
Last:
ES --> E
So the result is 'Enemy'.
- Then we start count from left up to flames count 4. Then remove the letter which at the position 4. Here, it is 'M'. So the letters become:
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.