Ad
  • Default User Avatar

    The sturcture of these two arrays is actually the same. ']' is equivalent of a symbol or any non-list structure, so basically both original and other are equiv to [1, 1, 1]

  • Default User Avatar

    Hi there,

    I know that this is not a tested case, but have you tried with these values: original = [1, '[', ']'] and other = ['[', ']', 2]. Your solution returns True, but these strings are a bit diferent, so I suppose that it should return False... Am I wrong?