mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08:00
fine tune
This commit is contained in:
@ -65,7 +65,7 @@ void main() {
|
||||
|
||||
/* 元素出栈 */
|
||||
final int pop = stack.pop();
|
||||
print("出栈元素 pop = $pop,出栈后 stack = ${stack.toArray()}");
|
||||
print("出栈元素 pop = $pop ,出栈后 stack = ${stack.toArray()}");
|
||||
|
||||
/* 获取栈的长度 */
|
||||
final int size = stack.size();
|
||||
|
||||
Reference in New Issue
Block a user