mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-06 14:27:26 +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