Skip to main content

Questions tagged [compression]

Related to compressing or decompressing arbitrary data. Challenges which relate to compressing a single specific input should instead be tagged [kolmogorov-complexity]

19 votes
21 answers
2k views

The JavaScript compressor RegPack uses a very simple string compression algorithm. Given a piece of code, it will make a list of characters that aren't used in that code and use them to delimit ...
emanresu A's user avatar
  • 46.2k
10 votes
7 answers
536 views

Challenge: Given an integer \$n\$, guaranteed to be \$\geq2\$ and a power of 2, we are going to draw multiply boards either side-by-side or below one another, where the first has dimensions of \$n\$ ...
Kevin Cruijssen's user avatar
-4 votes
1 answer
308 views

Choose a language and write a program in the language that: Take a valid program of the language as input, Output a string(bytearray, etc.). It needn't be a valid program. Only finite valid inputs ...
l4m2's user avatar
  • 32.5k
11 votes
2 answers
822 views

The objective is to make the smallest SB3 file that can simply be imported into Scratch 3.0 without a "The project file that was selected failed to load" error. Any means can be used, like ...
Niall Ward's user avatar
14 votes
2 answers
560 views

Try it online! currently has 680 listed languages, all of which are searchable. For most of those languages, when searching for it, you don't have to enter the entire string. For example, entering <...
caird coinheringaahing's user avatar
21 votes
3 answers
683 views

Jelly has compressed string literals, using the “...» delimiters. The way these work is by interpreting the ... as a base-250 ...
caird coinheringaahing's user avatar
10 votes
5 answers
1k views

The TV series "Breaking Bad" replaced the letters Br and Ba with a periodic-table like representation, printing [Br35]eaking [Ba56]d. Create a program ...
Zsolt Szilagy's user avatar
25 votes
14 answers
2k views

Put simply, you are to print out the following number: ...
d01's user avatar
  • 3,508

15 30 50 per page
1
2 3 4 5
7