Yi Jiang
Yi Jiang
There are a few issues with the solution. First let's repeat the question and the current solution. > > 5.4-2 > Suppose that we toss balls into b bins until...
Reduce space usage of discrete integrals, no need to allocate extra space.
### Is this a duplicate? - [X] I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cccl/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md) ### Area...
Yeah I know it's easy, but I found a possibly more efficient algorithm, especially when m>>n or n>>m. It's explained here: [https://hyper-meta.blogspot.com/2023/06/m1318-description-given-3-positives.html](https://hyper-meta.blogspot.com/2023/06/m1318-description-given-3-positives.html) Let me know what you think!