Update Dart code to output same as Java (#522)

This commit is contained in:
liuyuxin
2023-05-30 13:00:16 +08:00
committed by GitHub
parent 5bbcb12979
commit 8247a611d7
14 changed files with 47 additions and 42 deletions

View File

@ -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;