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.
I have the same issue. In my case, it was due to the way I appended 67 and 670 in a loop
(If you're talking about the example I think you're talking about): I also thought the test answer was wrong but if you search below for the comment by dcpf and the reply by jmeek I have to admit I think the answer makes sense: a candidate who gets no votes in the first round is indeed the lowest performing candidate in that round and should be eliminated immediately, rather than being allowed to win after including their second-round votes.
After all, thinking about the substance of the system: if the candidate c had done slightly better and got one first-placed vote they would have been eliminated in the first round; they certainly shouldn't be rewarded with the potential ability to win the election just because they didn't get any first round votes at all!
Hi, I can't get these tests to pass in Elixir.
Basically it looks like the tests need a specific ordering as I'm getting this test failure.
lhs: "AA 45522:Paris St. Abbeville,Paris St. Abbeville/670,67"
rhs: "AA 45522:Paris St. Abbeville,Paris St. Abbeville/67,670"
However, when I order by street number another test fails!
Anyone completed this in Elixir and have any pointers?
Thanks
Passed all but one test ("Expected: :e, instead got: :c"). I printed the input (and ran through the example manually) and I'm pretty sure the test assertion is wrong and "c" should be expected. I can see others have had the same issue (hopefully we haven't made the same error).