How to solve this problem?

Revision en1, by rahul_bhaiya_sabka_baap, 2018-07-29 10:06:02

You have a dictionary with set of words, you have to create a data structure which will give you no of words of length L whose ith character is C. Queries are very frequent, Try to optimize it. If possible, please do provide the code.

Tags #data structure, dictionary, queries

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rahul_bhaiya_sabka_baap 2018-07-29 10:06:02 260 Initial revision (published)