HELP trie policy based data structure

Правка en1, от purple_dreams, 2017-06-30 00:46:00

My solution click to this hackerrank problem click

I use trie policy data structure but it is tle since distance operator is O(n) ... any help how to implement using it or it is not possible?

Теги trie

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский purple_dreams 2017-06-30 00:46:00 315 Initial revision (published)