bug fix
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user