Sollicitatievraag bij Databricks

Object oriented design question involving a montonically increasing stack