Two Sigma logoTwo Sigma
Coding·60 minMembers

Huffman-Style Binary Encode / Decode

Members only

Build binary encodings for characters by constructing a frequency tree, then implement both encode and decode. The prompt is long and conceptually close to Huffman coding, with the main challenge bein...

SWE
heap
tree
compression
binary-string
hard
Frequency
Single report
Last asked
2025-12-15
Stage
phone-screen

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...