The Stack constructor is used again to create a copy of the stack with the order of elements reversed; thus, the three null elements are at the end.

  • 再次使用Stack构造函数以元素的反向顺序创建堆栈副本;这样,三个空元素就位于堆栈的底部。
目录 查词历史