Hacker News new | ask | show | jobs
by RossBencina 310 days ago
For running min/max there is an efficient O(1) algorithm by none other than Daniel Lemire: https://lemire.me/en/publication/arxiv0610046/