logoalt Hacker News

Crestwave • 11/08/2024 • 1 reply • view on HN

Yes, but more slowly. According to the GP, with the knowledge provided, it can be brute-forced in O(log n) time instead of O(n^2).


Replies

Jaxan • 11/08/2024

Is it then still considered brute force?

➕ show 1 reply