Sorting X + Y: sorting all pairwise sums faster than n² log n
Sort all n² pairwise sums of two sets of n numbers in o(n² log n) time, faster than general-purpose sorting allows.
| 1 | { |
| 2 | "domain": "computer-science", |
| 3 | "topics": [ |
| 4 | "algorithms-complexity", |
| 5 | "computational-geometry" |
| 6 | ], |
| 7 | "type": "algorithm", |
| 8 | "source": { |
| 9 | "key": "topp", |
| 10 | "name": "The Open Problems Project", |
| 11 | "url": "https://topp.openproblem.net/p41", |
| 12 | "id": "41", |
| 13 | "curator": "Erik D. Demaine, Joseph S. B. Mitchell and Joseph O'Rourke", |
| 14 | "poser": "Elwyn Berlekamp", |
| 15 | "status": "open", |
| 16 | "as_of": "2026-10-20", |
| 17 | "catalog": "0521c19bbd38" |
| 18 | }, |
| 19 | "review": true, |
| 20 | "approval": "first-time" |
| 21 | } |