Stack и monotonic stack — Software Engineer Interview Preparation