39.3 Space/Time-Bounded Compression

Space-Bounded Compression

Space-Time-Bounded Compression

It might seem unintuitive, but this kind of problem is actually solvable. We will use the following algorithm:

for length L = 1....S:
    for each possible program P of length L:
        while (P is running && !(B is outputted) && lines_executed < T):
            run the next line of P

Efficient Bounded Compression

Last updated