2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
9
Task/Stack/Elena/stack.elena
Normal file
9
Task/Stack/Elena/stack.elena
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#var stack := system'collections'Stack new.
|
||||
|
||||
stack push:2.
|
||||
|
||||
#var isEmpty := stack length == 0.
|
||||
|
||||
#var item := stack peek. // Peek without Popping.
|
||||
|
||||
item := stack pop.
|
||||
Loading…
Add table
Add a link
Reference in a new issue