aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-08-04 21:57:44 +0200
committerAndreas Grois <andi@grois.info>2024-08-04 21:57:44 +0200
commit824f6328a847805fdc6fd89d9c447824fa5e36e6 (patch)
tree589bf2807ca319cc49253fdf72965f55e7cfa539 /TODO
parenta3230ecbb8a088ad2a0fcca474364824c76c16c2 (diff)
heapPopReturnsRoot
Diffstat (limited to 'TODO')
-rw-r--r--TODO2
1 files changed, 1 insertions, 1 deletions
diff --git a/TODO b/TODO
index 3f08bcd..b5e7d4f 100644
--- a/TODO
+++ b/TODO
@@ -14,7 +14,7 @@ This is a rough outline of upcoming tasks:
[x] Prove that CompleteTree.heapUpdateRoot indeed exchanges the value at the root.
- Done by showing that the new tree contains all elements except the root, and the updated value.
[ ] Prove that heapPop leaves all values in the tree, except the root.
-[ ] Prove that heapPop returns the root
+[x] Prove that heapPop returns the root
[ ] Prove that CompleteTree.heapUpdateAt returns the element at the given index
[ ] Prove that CompleteTree.heapUpdateAt indeed updates the value at the given index.
- Use the same approach as heapUpdateRoot