logoalt Hacker News

dankwizard11/08/20241 replyview on HN

But OP did Brute Force?


Replies

Crestwave11/08/2024

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).

show 1 reply