Ad
  • Custom User Avatar

    Ok. Thank you. But just so I understand. Can you give me an example of a random test for this Kata so I know what it means in future?

    Regards :)

  • Custom User Avatar

    Hi fenring.

    Thanks for the heads up, I've just appended the description now.

    Regards

  • Default User Avatar

    Oh nice. At least I know the terminology now :P

    Thanks :D

  • Default User Avatar

    Hi there!

    I thought there may be a similar kata out there already, but all kata's I create will be along the lines of Gaming Development. So I just want to cover as much as I can starting from the basics.

    Thanks for sharing the other katas, I will go ahead and solve them myself now XD

  • Default User Avatar

    Hi again Blind4Basics

    I've added some random test cases to the Kata. This includes a 1x1 box and -12 etc.

    I'm struggling to understand what you mean by edge case (size <= 1)

    Thanks for the help! :)

  • Default User Avatar

    A duplicate of what it is now? or a duplicate of someone elses Kata?

  • Default User Avatar

    Ah ok, so you mean I should un-publish and republish it?

    I did think of doing that, but I intended to do that once I had it working.

  • Default User Avatar

    Hey Blind4Basics

    I will adhere, and change the use of sqrt to n.

    However it's published so that I can recieve feedback from regular codewars users. I've learnt an unbelievable amount of useful information from Johan alone. Whereas if I'd never published this kata, I wouldn't have known.

    Bare in mind this is my first kata and is merely here so I can learn more about programming. I'm not here for votes.

    Regards

  • Default User Avatar

    Hey guys.

    Blind4Basics.
    Yes I know Its not blocked in python just yet, my plan was to make the javaScript version as solid as I can, then I will translate my restrictions into python.

    Johan.
    I really appreciate the advice. I've changed the restriction in JS to ** instead of const. I have also restricted require. I will now update the description to let people know about the restrictions, and move the code to the Submit Tests.

    Thanks guys for the comments. I promise I will get better at this. :D

  • Default User Avatar

    Hey Johan

    I've been doing some research on restricting your code... could you please try it again? I'd like to see if i've prevented you from using your version correctly.

    Thanks!

  • Default User Avatar

    Hi

    thanks to seeing how you did it in the javaScript version for me, I was able to do it in the python version also.

    If I am being perfectly honest, I don't understand what your other solution does. Would you mind explaining how I can prevent this being passable test? or show me what resource I need to look at.

    Thank you.

  • Default User Avatar

    Hi Johan

    Thanks for the heads up. I have just updated the javaScript version. Please let me know if that isn't what you meant.

    Regards

  • Default User Avatar

    Hey Voile

    Thanks for the feedback, I realize my Kata is not optimal. However I didn't know that there was a similar Kata to this already.
    This is my first Kata so any help is much appreciated.

    I don't actually know how to restrict someone from importing a library, I would happily update that if you could tell me how?

    Thanks!