摘要:
转载:https://blog.csdn.net/qq_45404693/article/details/120004171 public class Main { public static void main(String[] args) { String a = "string"; Strin 阅读全文
摘要:
F函数的作用是把最后一层的删去,并返回,上面的东西盖下来。 public class ReverseStack { //目的是把栈中的最底层,删除并返回 public static int f(Stack<Integer> stack){ int result = stack.pop(); if ( 阅读全文