Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,20 @@
queue {
data
Push {data˜𝕩}
Pop {
𝕊𝕩:
0=data ? •Show "Cannot pop from empty queue";
(data˜¯1)data
}
Empty {𝕊𝕩: 0=data}
Display {𝕊𝕩: •Show data}
}
q1 queue
•Show q1.Empty@
q1.Push 3
q1.Push 4
q1.Display@
•Show q1.Pop@
q1.Display@

View file

@ -0,0 +1,4 @@
1
4 3
3
4