Search
⌘K

Leetcode 1662. Check If Two String Arrays are Equivalent

Given two arrays of lowercase strings, determine whether concatenating each array’s elements in order produces the same overall string. This can be solved by comparing the concatenated results or by streaming character-by-character with two pointers to avoid extra allocation.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Early February, 2025

Meta

Mid-level

Comments

Your account is free and you can post anonymously if you choose.