Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Extra E aside does anyone know why the expected result is different?
Input WEAREDISCOVEREDFLEEATONCE rails = 2.
Expected was WADCEFACTLROIREESVEEOENED but my result was WAEICRLTEEOSDREEICVDEOAFE
Manually working this out also gave me
Hi, there is a small error in the rail that you wrote above. If you look closely, there is an extra "E" in your "DISCOVEREED". I hope this helps and happy coding (sorry, I see that this question is from a month ago, but I just completed the exercise).
Can someone explain how this output is the correct answer:
Input: WEAREDISCOVEREDFLEEATONCE
with n=2
the expected output is WADCEFACTLROIREESVEEOENED
but even working it out manually I find the answer to be WAEICVRDLETNEERDSOEEFEAOC (as take every other letter and put on one other rail)?
eg