Help needed with this question

Правка en1, от iron_nicko, 2023-08-24 09:38:32

Question :

Find the minimum amount of Prefix-Strings
needed to make string B from the given list of strings A.

Input :

4
abc ka efgh k
efghkabc

Output: 3

Constraints:

1 <= N <= 100
1 <= |A| <= 100
1 <= |A[i]| <= 100
1 <= |B| <= 100
My Code

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский iron_nicko 2023-08-24 09:38:32 2461 Initial revision (published)