Ad
  • Custom User Avatar

    Isn't this kind of "typo" ironic considering that "and" and "or" are part of programming language? They should know better, right?

  • Custom User Avatar

    If you change the description this would be an excellent kata. The last line needs to read "each taken only once - coming from s1 AND s2. combined". The or in the last line indicated that you want the user to return the longest of the 2 new values.

  • Custom User Avatar

    Hi,

    This input doesn't exist as a string anywhere in JS tests. I guess you're using something that had misled you when you printed the input array.
    Note: next time, don't forget to mention the language.

    Closing & cheers

  • Custom User Avatar

    The parameters are incorrect for the initial test. The directions explicitly state that all inputs are arrays. However, the second test input is a string moveZeros( "1,2,1,1,3,10,0,0,0" ) expected to return[1,2,1,1,3,1,0,0,0,0]