![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
Re^3: argmin & argmaxby ikegami (Patriarch) |
on May 13, 2025 at 04:45 UTC ( [id://11165022]=note: print w/replies, xml ) | Need Help?? |
Nice ...or is it? Seeing as it returns the top x values, is the algorithm used O(n) as desired, or O(n log n) like a sort? That said, the extra log n doesn't add much, though.
In Section
Cool Uses for Perl
|
|