Asana SDE Interview Question 2022 May | Tries & DFS | On-campus
Question · Posted Jun 2026
Question 1: Concatenated Words Problem Statement Given an array of strictly unique strings words, return all the concatenated words in the given array. A concatenated word is defined mathematically as a string that is comprised entirely of at least two shorter words (not necessarily distinct) from the given array. Constraints 1 <= words.length <= 104 1 <= words[i].length <= 30 words[i] consists of only lowercase English letters. All the strings of words are unique. Examples Example 1: Input: words = ...
The full answer & interview discussion are available to premium members.
Log in Create a free account