Skip to content

Commit

Permalink
feat: Year 2014 extractMin
Browse files Browse the repository at this point in the history
  • Loading branch information
MMZK1526 committed Jan 5, 2025
1 parent 7e67573 commit ff963ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Year2013/Exam.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ combineTrees t1@(Node a1 r1 h1) t2@(Node a2 r2 h2)
-- PART II

extractMin :: Ord a => BinHeap a -> a
extractMin
= undefined
extractMin = minimum . map key

mergeHeaps :: Ord a => BinHeap a -> BinHeap a -> BinHeap a
mergeHeaps
Expand Down

0 comments on commit ff963ce

Please sign in to comment.