3 ms·But OP did Brute Force?by dankwizard 2y agoBut OP did Brute Force?Crestwave 2y agoYes, 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).Jaxan 2y agoIs it then still considered brute force?Sarkie 2y agoBrutey force