Using trie
i am trying to use a Trie for my first time and this what i did :
PHP Code:
|
Re: Using trie
Do you understand what Trie ? You set the key with an empty variable and as associated value banned_player. Do you think it's going to work with an empty key ?
|
Re: Using trie
Quote:
|
Re: Using trie
You have to first explain what you want to do exactly.
|
Re: Using trie
Quote:
|
Re: Using trie
Array would be more appropriate, so you can traverse the Array, getthing the string and checking. Using Trie, you have to associate a key to a value. That's not what you need.
|
| All times are GMT -4. The time now is 08:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.