Data Structures19 sections · 729 units
Open in Course

Quiz: Monotonic Stack

Pop condition

Check Your Understanding

In a monotonic decreasing stack for 'next greater element', when do you pop?

  1. A.When the current element is larger than the stack top
  2. B.When the current element is smaller than the stack top
  3. C.When the stack is full
  4. D.After processing each element
Start the roadmap to answer the quizzes and solve the challenges