Ad
  • Default User Avatar

    If i clearly understand the task, your test could never return True, with command like this.
    There are no * so input will be always equal to output (zeros string in this example).
    Moreover for first tape value (0) first command [ will jump to the las element of command string. It will be ] so interpreter will skip this command.
    If i miss something, let me know =)