mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Format the Java codes with the Reat Hat extension.
This commit is contained in:
@@ -11,6 +11,7 @@ import java.util.*;
|
||||
/* 基于数组实现的栈 */
|
||||
class ArrayStack {
|
||||
private ArrayList<Integer> stack;
|
||||
|
||||
public ArrayStack() {
|
||||
// 初始化列表(动态数组)
|
||||
stack = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user