4 ms·
I've given the "(I know the answer but) this is a dumb question" in response to "using two stacks, how would you implement a queue". I think being able to impl
by rgoulter 4y ago
I've given the "(I know the answer but) this is a dumb question" in response to "using two stacks, how would you implement a queue".
I think being able to implement a queue using two stacks is kinda neat. But, nevertheless, it's not a good interview question.