Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.24 KB

Algo Rithms Challenge // Unmix

1. Getting started

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.

2. Challenge

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.

2.1. Examples

unmix("hTsii  s aimex dpus rtni.g") // ➞ "This is a mixed up string."
unmix("123456") // ➞ "214365"

2.2. Testing your solution

To test your solution, run npm i in the root directory and then run npm t to run the automated tests.

2.3. Submitting your solution

To submit your solution:

  1. If you're working on a forked repo, push your changes to your forked repo and submit a pull request to this repo.