Meta interview question

Monotonous stack and a BFS problem