Pagini recente » Diferente pentru calibrare-limite-de-timp intre reviziile 193 si 192 | Istoria paginii utilizator/beatrice_marcu | Istoria paginii utilizator/deadeye | Diferente pentru blog/numbers-everyone-should-know intre reviziile 12 si 13
Nu exista diferente intre titluri.
Diferente intre continut:
The table below shows the limits that can be reached in a few seconds by algorithms of different complexities. I've also added a few examples of algorithms or problems and data structures that may occur in those complexity classes.
|_. maximum n for a second execution time |_. complexity |_. algorithms |_. data structures|
|_. size of n |_. complexity |_. algorithms |_. data structures|
| 8 | n^n^ | brute force, cartesian product | |
| 9-10 | n! | brute force, backtracking, next_permutation | |
| 13-17 | 3^n^ | dynamic programming with exponential states | hash_map (to store the states) |
Nu exista diferente intre securitate.
Topicul de forum nu a fost schimbat.