Run-Length Encoding and Bit-Packing
Databricks interview questions · Hard · Coding round · reported 17× · 6 tests
Encode an integer stream by turning long repeats into RLE blocks and everything else into bit-packed literal blocks.
The full question, tests and reference solution are available with a plan that includes Databricks.
Run your code with Ctrl+Enter to see results.