Monotonic stack

17 videos • 218 views • by LetsCode Need to be familar with stack first, used to calculate next greater/smaller elements.