Stock Span Problem

Explore the Stock Span Problem, a classic example in stack-based algorithms.