Anonymous user
Talk:Huffman coding: Difference between revisions
→Python: Fails??
(added a header section to the first question and response so to make the TOC appear in the correct place.) |
(→Python: Fails??) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 99:
==
I took a <strike>good</strike> better look at the WP article and came up with the following code, together with printouts of what it is doing:
<lang python>from heapq import heappush, heappop, heapify
Line 201:
::Yeah, it looks right. --[[Special:Contributions/71.106.173.110|71.106.173.110]] 09:47, 27 March 2009 (UTC)
:: Pretty certain testing the Python code is not correct --[[Special:Contributions/Art-the-physicist|Art-the-physicist]] 18:09, 16 May 2019
::: Please post your failing testcase for review. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:36, 31 October 2021 (UTC)
== Category ==
|