Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
BHSPitMonkey
on Oct 16, 2013
|
parent
|
context
|
favorite
| on:
Coding Interview Tips
Please explain. Without maintaining that ordering, you're going to have to iterate over the entire stack after every pop, no? One of their requirements was to keep pop() at O(1) rather than O(n).
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: