title: How do I implement stack in PL/SQL?
body: <p>In Python it would look something like this:</p>
  
  <pre><code>class Stack:
       def __init__(self):
           self.items = []
  
       def isEmpty(self):
           return self.items == []
  
       def push(self, item):
           self.items.append(item)
  
       def pop(self):
           return self.items.pop()
  
       def peek(self):
           return self.items[len(self.items)-1]
  
       def size(self):
           return len(self.items)
  </code></pre>
  
  <p>Which data structure do I use and how do I implement stack in Oracle PL/SQL?</p>