← All projects
Project record1 mention
Originally shared on Hacker News

Linear-time heap operation sequences

A theoretical computer science project to run sequences of heap operations (insert and delete-min) in linear time instead of O(n log n) total time. The tradeoff for the linear bound is that only the final state of the heap is learned, not which element got deleted when.

Last shared
01 / The problem

What it addresses

Running sequences of heap operations normally takes O(n log n) total time; the project aims to achieve linear total time.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Linear-time heap operation sequences

    A theoretical computer science project to run sequences of heap operations (insert and delete-min) in linear time instead of O(n log n) total time. The tradeoff for the linear bound is that only the final state of the heap is learned, not which element got deleted when.

    Problem: Running sequences of heap operations normally takes O(n log n) total time; the project aims to achieve linear total time.

    Posted by @eru · Original source ↗

    Source text · @eru · · Source ↗

    I'm working on running sequences of heap operations (insert and delete-min) in linear time instead of O(n log n) total time. It's a silly little project in theoretical computer science I have.