Tekion Interview Question

stocks problem , stacks based , may be monotonic stocs