Ad
  • Custom User Avatar

    I think "deactivate"(if there is such option) would be a immediate solution. Remove it seems a bit unfair with those who already solved the kata, they will just loose their solutions.

    IMO the right way would be to disable the 500+ solutions rule for admins. Thus avoiding future katas to get stuck like this.

    I already sent this suggestion to codewars. Let us see what codewars admins will suggest.

  • Custom User Avatar

    It's necessary to specify if it is possible to have:

    • empty array
    • length == 1
    • no numbers array elements
  • Custom User Avatar

    As joh_pot said you are using return in the way that the execution of your method just finishes.

    For others questions/answers I would recommend you to take a look at the markdown spec, which can help you to write answers/doubts in the correctly formatted way.

  • Custom User Avatar

    Maybe the description could be improved a bit. What do you think about an approach with a more concise desc plus examples?

    e.g:

    Check to see if a string has the same amount of 'x's and 'o's. The method must return a boolean and be case insensitive. The string can contains any char.

    Examples input/output:

    XO("ooxx") => true
    XO("xooxx") => false
    XO("ooxXm") => true
    XO("zpzpzpp") => true // when no 'x' and 'o' is present should return true
    XO("zzoo") => false
    
  • Custom User Avatar

    pretty sure admins are able to fix this.