@webtechalex - thanks lol I guess I was way more sleep deprived than I thought because I clearly kept misreading the instructions. Totally embarassing! Kata solved. :)
Just looking at this again and your issue has higlighted a way in which the fixed test cases could be improved. The random test cases are showing you what is wrong with your code, but the fixed ones aren't affected by the error, which is why they pass.
I will update the fixed test cases and that will give you a better hint.
Upon further exposure to programming and awareness of my lack of understanding of anything - tetreault you are correct. This is not chaining. it's a foldr method with an array of functions. that is all. I concede to you sir. However I can't change the name of this kata. I must apologize profusely. :'(
That makes no sense to me dude. Why would the winner be n > n/2, why would it not be the person who got the highest number of votes with no tie? That honestly doesn't make much sense.
Imho the description does not distract too much, you can still skip it going straight to the "Task" part and having some flavour isn't that bad, just to not have a site with a bunch of soulless problems.
Just my 0.02€, of course.
Oh, and while at it: kata green-lit, random tests added to the JS version too!
Not an issue
No need to be embarrased. :) Thanks for helping me improve the test cases.
@webtechalex - thanks lol I guess I was way more sleep deprived than I thought because I clearly kept misreading the instructions. Totally embarassing! Kata solved. :)
Just looking at this again and your issue has higlighted a way in which the fixed test cases could be improved. The random test cases are showing you what is wrong with your code, but the fixed ones aren't affected by the error, which is why they pass.
I will update the fixed test cases and that will give you a better hint.
This comment is hidden because it contains spoiler information about the solution
Upon further exposure to programming and awareness of my lack of understanding of anything - tetreault you are correct. This is not chaining. it's a foldr method with an array of functions. that is all. I concede to you sir. However I can't change the name of this kata. I must apologize profusely. :'(
You monster!
Yeah, U are right
You don't have to check if the crew weight is greater than draft.
You have to check if the draft is more than 20 units greater than the weight of crew.
That makes no sense to me dude. Why would the winner be n > n/2, why would it not be the person who got the highest number of votes with no tie? That honestly doesn't make much sense.
Imho the description does not distract too much, you can still skip it going straight to the "Task" part and having some flavour isn't that bad, just to not have a site with a bunch of soulless problems.
Just my 0.02€, of course.
Oh, and while at it: kata green-lit, random tests added to the JS version too!
I don't know I think it should stay :P it does not effect the task :)
This comment is hidden because it contains spoiler information about the solution
Thanks! Otherwise, fun little problem :)
Thanks. I just changed the code to uppercase all the input letters.
Loading more items...