79513334

Date: 2025-03-16 22:44:28
Score: 2.5
Natty:
Report link

You might use a ListBuffer (is mutable), it provides the prepend method ("push") and remove method ("pop"). So implementing a generic Stack is straightforward.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zvonko