Ad
  • Custom User Avatar

    Hey, with my inital solution I hard coded the 'B's and the 'b's as I didn't realise other letters would be used. Maybe make that clear in the kata description? Sorry if you have and I just can't see it!

  • Custom User Avatar

    Hi, I think in the description you could give an example of what the function should return. Then the reader can figure out what they need to do with their results. Also, in your solution some of your arrays aren't sorted. If that's how it's meant to be, you'll need to give the reader the necessary information

  • Custom User Avatar

    Hi franzmoro88, I noticed how in some of your random tests i'll get an error saying the path array should not start from [0,0]. But in the tests prior to the random tests it will say path array should start from [0,0]. Maybe have a look at these errors?

  • Custom User Avatar

    Thank you for leaving this template. I used this example and was able to submit my Javascript solution.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    okay, I've got it now. Consider adding in the description that the function should return n as a string if the array is empty. I only knew this by looking at the test expected result

  • Custom User Avatar

    i'm not sure what to return when the array is empty? can't see anything about that in the description.

  • Custom User Avatar

    hey! i think they are strings and the reason they don't have '' around them is because they are single words, unlike the others. I wondered the same and this is the conclusion i came to. It's just the way the function outputs the resulting object

  • Custom User Avatar

    Love this kata, made me laugh :)

  • Custom User Avatar

    thank you for the advice! shall include some of those too

  • Custom User Avatar

    Thanks matt c. Random test cases are included now

  • Custom User Avatar

    That's really good feedback! I will adjust the kata. Thank you :)

  • Custom User Avatar

    Hi Kyle, yes. The idea is that you would store the original recipe in the cake function. The function call cake('butter', 50) addresses the question: If I only have 50g of butter, how much would I need of all the other ingredients? Does that make sense?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
  • Loading more items...