Fix peek() in LifoQueue.
peek() should return the same element that get() returns, which is not currently the case. Add regression test for queue peek().
Showing
Please register or sign in to comment
peek() should return the same element that get() returns, which is not currently the case. Add regression test for queue peek().