A problem about the "expected output"

  • 0

    Hi, I have met this problem, that when I input "abcdefg" and ["abc","def"], it showed that the expected output is [0]. But it obviously should be [0,4]. What is wrong?

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.