|
|
back to boardHow store data in Java? Posted by KALO 12 Jul 2009 06:34 I have a good hash function (I think), but i don`t know how to store the hash codes for fast access. please help Edited by author 12.07.2009 06:39 Re: How store data in Java? Use an array of hashes of all preffix of the string!
Re: How store data in Java? use hash table... it's simple and fast. AC Posted by KALO 26 Jan 2010 01:26 Finally I managed to get AC with O(n^2logn) suffix array. Re: AC This problem can be solved with prefix-function in O(N^2) and sizeof(bool)*5000*5000 memory. |
|
|