mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 04:31:55 +08:00
Update Dart code to output same as Java (#522)
This commit is contained in:
@ -23,8 +23,7 @@ void main() {
|
||||
|
||||
/* 元素出栈 */
|
||||
final int pop = stack.removeLast();
|
||||
print("出栈元素 pop = $pop");
|
||||
print("出栈后 stack = $stack");
|
||||
print("出栈元素 pop = $pop,出栈后 stack = $stack");
|
||||
|
||||
/* 获取栈的长度 */
|
||||
final int size = stack.length;
|
||||
|
||||
Reference in New Issue
Block a user