https://github.com/lmandersson/Unmix
Fork this repo and then git clone
your forked repo to your computer.
Once you're happy with your solution, git push
and submit a pull request at
https://github.com/lmandersson/Unmix
.
lPaeesh le pemu mnxit ehess rtnisg! Oh, sorry, that was supposed to say: Please help me unmix these strings!
Somehow these strings have all become mixed up. Help me undo this so I can understand my strings again.
You will receive a string and must return the unmixed string.
unmix("hTsii s aimex dpus rtni.g") // ➞ "This is a mixed up string."
unmix("123456") // ➞ "214365"
To test your solution, run npm i
in the root directory and then run npm t
to run the automated tests.
To submit your solution:
- If you're working on a forked repo, push your changes to your forked repo and submit a pull request to this repo.