Groups
Category
A monotonic stack is a stack that keeps its elements in increasing or decreasing order to answer range queries in linear time.
Gaussian elimination is a systematic way to solve linear equations by cleaning a matrix into an upper-triangular form using row swaps, scaling, and adding multiples of rows.