Ad
  • Default User Avatar

    don't mutate the input. Do NEVER mutate the input...

    And wen posting about possible issues, please document them correctly (as Seigo did):

    • language
    • input
    • actual
    • expected
  • Custom User Avatar

    Same problem with should work test.

    For:

    moves = ["right", "right", "right", "right", "right", "down", "left", "down", "down", "up", "down", "up", "left", "right", "right", "up"];

    Should return:

    ["E.Honda", "Blanka", "Guile", "Balrog", "Vega", "M.Bison", "Sagat", "Sagat", "Sagat", "Balrog", "Sagat", "Balrog", "Guile", "Balrog", "Vega", "Vega"]

    My function returns correct value

  • Custom User Avatar

    I had the same problem, then I realized the instructions are confusing.

    If you submit your code to return either true or false, it'll work. the problem is for true I was returning '...is narcissistic'.