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.
How to solve this problem?
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.
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en1 |
![]() |
rahul_bhaiya_sabka_baap | 2018-07-29 10:06:02 | 260 | Initial revision (published) |