Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ __lt__
Method
__lt__
Python/HuffmanCodingAlgo.py:16–17 ·
view source on GitHub ↗
(self, nxt)
Source
from the content-addressed store, hash-verified
14
self.huff =
''
15
16
def
__lt__(self, nxt):
17
return
self.freq < nxt.freq
18
19
def
printNodes(node, val=
''
):
20
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected