import java.util.*; public class Solution { Stack<Integer> stack = new Stack<>(); public void push(int node) { stack.push(node); } public void pop() { stack.pop(); } public int top() { return stack.peek(); }//上边这些都是基础的几个语句 public int min() { Integer[] temp = stack.toArray(new Integer[sta...