Prefer a chat interface with context about you and your work?
A provably fast linear-expected-time maxima-finding algorithm