AMEYO Hiring Challenge | Online Assessment Question | Off-Campus (2024)
Question · Posted Jun 2026
Problem: Check If Two String Arrays Are Equivalent Given two string arrays word1 and word2, determine whether they represent the same string after concatenation. Return true if both concatenated strings are equal; otherwise return false. Example Input word1 = ["ab","c"] word2 = ["a","bc"] Output true Explanation word1 → "ab" + "c" = "abc" word2 → "a" + "bc" = "abc" Both strings are equal.
The full answer & interview discussion are available to premium members.
Log in Create a free account