3 ms·
This can also get expensive really fast
by yosho 16y ago
This can also get expensive really fast
- Robin_Message 16y agoAsymptotically, it's only O(N) for a meal priced N. In practice, since you only need to put in a few extra currency units, it's O(1). So it really can't get expensive fast.
- powrtoch 16y agoBig O. Sometimes it is nice to just bask in the way disagreements are carried out on HN as opposed to e.g. Yahoo news.