Linear Equations with Min and Max Operators: Computational Complexity