diff --git a/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.english.md b/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.english.md index a970c4de85..79e8621073 100644 --- a/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.english.md +++ b/curriculum/challenges/english/10-coding-interview-prep/data-structures/create-a-stack-class.english.md @@ -17,7 +17,7 @@ Apart from the push and pop method, stacks have other ## Instructions
-Write a push method that pushes an element to the top of the stack, a pop method that removes the element on the top of the stack, a peek method that looks at the first element in the stack, an isEmpty method that checks if the stack is empty, and a clear method that removes all elements from the stack. +Write a push method that pushes an element to the top of the stack, a pop method that removes and returns the element on the top of the stack, a peek method that looks at the top element in the stack, an isEmpty method that checks if the stack is empty, and a clear method that removes all elements from the stack. Normally stacks don't have this, but we've added a print helper method that console logs the collection.