Deque-STL

  • + 0 comments

    Hi everyone!

    I wanted to share my well-commented solution for the Sliding Window Maximum problem. I explain the deque logic and how to achieve O(n) complexity.

    Check it out on GitHub: https://github.com/habibma/SlidingWindowMaximum