Comment

Comment by mindleyhilner

Sorry to sound stupid, but how is that exponential? Isn't it O(mn) where m = number of floors and n = number of shafts?

EDIT: Unless there's some dependence between m and n, like if taller buildings always need more shafts or something.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton