Mark As Completed Discussion

Let's test your knowledge. Fill in the missing part by typing it in.

To push an element onto the stack, we will first check if the stack is _. If it is, we will output 'Stack Overflow' and return. Otherwise, we will increment the top variable and assign the element to stack[top].

Write the missing line below.