3 ms·
It depends. If you don't need to worry about performance, then it will work. But in some performance-dependent situations, the brute force algorithm will win ov
by coliveira 6y ago
It depends. If you don't need to worry about performance, then it will work. But in some performance-dependent situations, the brute force algorithm will win over the hash table, and the only way to know is measuring which one is better.