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.
Railfence has a limit by defniniton of how many letters there are, but the way you design your solution should not matter...
really enjoyed this, even though it took me days to solve....something great (And useful) to wrap your head around.
Looking at some of the other solutions tho....
Beat the challenge quite quickly, then you declared the thing as a 2D in a Jagged format! took me an hour to work out the most efficient way of getting the length of each row/column using that method.
Good way of learning tho!
p.s. still don't see the point of having a constructor!
C#
This comment is hidden because it contains spoiler information about the solution
but in every other test case 1 or 2 11's would equate to a dot and 3 would equate to a dash, the Kata says "Dash" – is 3 time units long.
I've just seen this highlighed as an issue many times in the issues section. I need to build in some facility to determine time limit, but i'm now going to have to build a supplimental function.
There is also an issue with one of the tests in c#(TestLongMessagesHandling) as it works in my Vis Studio, but not on the codewars kata.
How is 111 E? I thought only 11 was a dot? anything more than 11 was a dash?
i think a number of people have mentioned this, but as i code in an IDE the import it into codewars, I know you can access the dictionary using a little get method, but it would be good to have the 2D array so i can get it without having to type the whole thing out in the IDE which is a pain.
GOT IT! each one you have to stack up the previous URL.
e.g. profiles/
profiles/byskin
profiles/byskin/anotherpage
i've got the same issue.....http://linkedin.it/profiles/by-skin-at-from-for-surfer/secret-page.htm?favourite=code
why does both have to contain profiles. this is not a rule that was in the Kata
so, similar length is the first check? then matching letters is the second check? then concurrent letters is the third check? - this is too much about what the programmer thinks is a close match than what is a close match. I don't get this, there is not enough information in the requirements.
Ok, So i pass all the normal tests, but fail on the random one's this one has done my head in. Do i split on ! and any other arbitary character?