diff options
| author | Andreas Grois <andi@grois.info> | 2024-08-04 21:57:44 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-08-04 21:57:44 +0200 |
| commit | 824f6328a847805fdc6fd89d9c447824fa5e36e6 (patch) | |
| tree | 589bf2807ca319cc49253fdf72965f55e7cfa539 /TODO | |
| parent | a3230ecbb8a088ad2a0fcca474364824c76c16c2 (diff) | |
heapPopReturnsRoot
Diffstat (limited to 'TODO')
| -rw-r--r-- | TODO | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
