• No, they're not broken.

  • Tests for PHP are broken. Check them again, I've added a comment

  • Not an issue of the kata. Unfortunately your code seems wrong.

  • Actually, can you do that at 7kyu?

  • In that case, please clean up your leftovers, i.e. resolve the "issue", thanks.

  • Don't worry, Guys. The firing squad has been canceled. I forgot to add validation for empty arrays.

  • I've got a failed test on the remote server.( I use Golang)

    Should handle basic cases: 
    Expected
      <bool>: false
      to equal
      <bool>: true
    

    I've printed sorted copies of arrays. Also, I've printed the results of function execution and added false pairs. It gave me the next debug print:

      [11 19 19 19 121 144 144 161] 
      [121 361 361 361 14641 20736 20736 25921]  
      true  result  <----- Test talks that there would be 'false' here.
      
      [11 19 19 19 121 144 144 161]
      [231 361 361 361 14641 20736 20736 25921]
      11
      231
      false  result  
      
      [11 19 19 19 121 144 144 161]
      [121 361 361 14641 20736 20736 25921 36100]
      19
      14641      
      false  result
    

    This is an original view of source arrays(in the same launch)

     [121 144 19 161 19 144 19 11] 
     [121 14641 20736 361 25921 361 20736 361]
    

    Where is a mistake here?!?! Guys, I will be forced to get guns and start shooting at the author and other guys who fabricated their answers to these wrong tests!

  • To post an issue you have to give a detailed reason - input, your output, expected ouput - :-)
    For your information (look at the top of the page) 1310 people passed the PHP kata and 684 the TS one.

  • Tests for Typescript and PHP are broken