Given two string arrays word1 and word2, return true if the two arrays represent the same string, and false otherwise. A string is represented by an array if the array elements concatenated in order ...
At the beginning I wrote the code to pass the three cases you provided. Then I submitted the code, knowing that I would have to refactor it due to some failing tests. On the contrary, all test passed ...