update solution for single-deque based of min stack problem.