Monoid-augmented FIFOs, deamortised

26 points by pervognsen


kmicklas

This is so cool. Normally I like to think I have a decent intuition for optimal asymptotics of problems (even if I can’t construct an actual algorithm), but I would not have thought this was possible.