Codeforces and Polygon may be unavailable from December 6, 19:00 (UTC) to December 6, 21:00 (UTC) due to technical maintenance. ×

help me in optimize trie memory

Revision en1, by beethoven97, 2020-07-26 22:54:31

__in this problem D. Vasiliy's Multiset

i implement trie data structure in python language but i face memory limit exceeded in test 91 ,can someone please help me in optimize the memory of class trie and be accepted .

i will appreciate any answer.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English beethoven97 2020-07-26 22:54:31 344 Initial revision (published)