ACCENTURE Hiring Off-Campus OA (2025) | Problem Check If Two String Arrays are Equivalent
Accenture · Question · Posted Jun 2026
Problem Statement You are given two string arrays word1 and word2. Each array represents a string formed by concatenating all its elements in order. Your task is to determine whether the final strings formed from both arrays are exactly the same. Return: true if both concatenated strings are equal. false otherwise. This problem tests string manipulation and comparison skills commonly asked in Accenture Online Assessments and coding interviews. Example 1 Input word1 = ["ab","c"] word2 = ["a","bc"] Output true Explanation ...
The full answer & interview discussion are available to premium members.
Log in Create a free account