This commit is contained in:
cozis
2021-11-02 16:41:56 +00:00
parent f351be78bb
commit 31b7cab2bf
4 changed files with 11 additions and 16 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
stack = {count: 0, head: none};
fun push(stack, value) {
fun push(stack, value)
{
node = {prev: null, item: value};
node.prev = list.head;