Need help to solve this proble

Revision en1, by jarvis_yash, 2023-10-12 23:55:54

Given an array of strings A of size N and two integers B and C Let D be the number of strings of length C that contain exactly B of the strings in words as substrings. Return D modulo (10+9).

|A|<=6 |A[i]|,C<=50 B<=N

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English jarvis_yash 2023-10-12 23:55:54 253 Initial revision (published)