Overview
The Burrows-Wheeler Transform permutes a string into a form with longer runs of related symbols, making later compression more effective.
Reorders text so similar characters become easier to compress.
Compact metadata for implementation and discovery.
The Burrows-Wheeler Transform permutes a string into a form with longer runs of related symbols, making later compression more effective.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n log n)
Space
O(n)
output[i] = last_character(sorted_rotation_i)Builds the transformed text from the last column of the sorted rotation table.
Show sorted rotations and the last column forming the transformed output.
Burrows-Wheeler Transform operates in O(n log n) time and O(n) space within the Transform Coding family. Key governing relation: output[i] = last_character(sorted_rotation_i). Often compared with Run-Length Encoding and Suffix Array Search.
What each reference supports for this entry.
Original block-sorting transform report supporting BWT rotation sorting and last-column output.
Open sourceCompression textbook support for Burrows-Wheeler Transform's coding model, decoder behavior, and implementation tradeoffs.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
BWT output is commonly transformed with move-to-front coding.
BWT tends to group repeated characters for run-length coding.