All Questions
2 questions
3
votes
0
answers
183
views
Predictor Generator [closed]
Write a program that when given a string \$S\$, it generates a program of the same language as itself.
The generated program, when given a continuous substring of \$S\$, should predict the next ...
7
votes
4
answers
1k
views
Write an URL compressor
Today your goal is to invent URL compression. You must write two programs: a compressor and a decompressor.
The compressor will be called with one URL on stdin and its output will be read on stdout.
...