I am stuck at this problem currently.
I have tried a O(n^2) approach but the accepted solution is supposedly O(log(n)*n) or less. How do solve this?
How to solve this problem in O(log(n)*n) or less?
I am stuck at this problem currently.
I have tried a O(n^2) approach but the accepted solution is supposedly O(log(n)*n) or less. How do solve this?
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en2 |
|
pretending | 2021-07-17 17:03:05 | 755 | ||
| en1 |
|
pretending | 2021-07-17 14:22:43 | 1016 | Initial revision (published) |