Veeva Systems interview question

Leetcode medium about monotonic stack