DEV Community

Cover image for Understanding the Monotonic Stack To UP Your Data Structure Game
about14sheep
about14sheep

Posted on • Edited on

1 1 1 1 1

Understanding the Monotonic Stack To UP Your Data Structure Game

The Monotonic Stack be very difficult to understand, and even hard to actually utilize!

I wrote up a solution over on leetcode that solves the problem 1475. Final Prices With a Special Discount in a Shop.

I am testing out using DEV to get feedback on solutions I write up (over on leetcode), so please check it out!

Monotonic Stack Solution and Tutorial

If this helps feel free to let me know either here or there! If you have any suggestions, or see things I can make more clear, don't hesitate to let me know!

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay