Skip to main content

Questions tagged [kolmogorov-complexity]

Kolmogorov complexity, informally, is the amount of code it takes to describe or produce a constant object, such as a string or image. When posting a challenge in this category, please make sure it adds something new to existing challenges.

Filter by
Sorted by
Tagged with
18 votes
18 answers
2k views

Write a program/function to output a peg solitaire board in its starting position: ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ○ ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ...
Steve Bennett's user avatar
2 votes
4 answers
634 views

Objective Your challenge is to write a program that, given a paragraph from a book, will output another program that prints out that paragraph. (See my example program in an answer) Scoring The link ...
ACertainArchangel's user avatar
23 votes
6 answers
2k views

In Chinese, each chemical element is named with one Chinese character. (A brief history of the chemical element naming in Chinese can be looked up in Wikipedia.) Your goal: Print a periodic table of ...
Explorer09's user avatar
7 votes
5 answers
1k views

We have a few questions related to pokemon types, but the only one that has you print the type chart requires you to take a parameter for dual typings which adds a ton of complexity, switches the axes ...
pacman256's user avatar
  • 5,415
19 votes
13 answers
2k views

Output any 200 words from Wordnik without using external sources. Any case. No repeated or extra words. Code golf.
Steve Bennett's user avatar
11 votes
5 answers
1k views

Generate four 2D arrays(2D string or whatever is fine) of same size that follows a glider in Conway's life of game. Each cell is 3x3 plus 1-width border. Each frame, it advances 1 cycle and shift the ...
l4m2's user avatar
  • 32.7k
9 votes
3 answers
521 views

Write the shortest Brainfuck program that loads all primes below 256 into memory consecutively. All other cells must be zero. You may place them in whatever order you like, but they must be ...
YurichBRO's user avatar
  • 333
8 votes
2 answers
1k views

Write the shortest Brainfuck program that loads all code characters of Brainfuck commands into memory consecutively. The Brainfuck instructions are: ...
YurichBRO's user avatar
  • 333
4 votes
3 answers
635 views

Your task is to draw a requested number of cells in a flat-topped/pointy-sided hex pattern. Each cell is 5 characters high and 8 characters wide (4 characters wide at the top and bottom). This is a ...
Steve Bennett's user avatar
3 votes
1 answer
414 views

There are 63 ways you can split a string across multiple lines in YAML. Your task is to write a program that outputs a YAML array that demonstrates all of them and their key features, in any order. A ...
Steve Bennett's user avatar
16 votes
9 answers
1k views

Chisanbop is a simple method of counting from zero to ninety-nine on two hands invented by Sung Jin Pai and revised by his son Hang Young Pai. To make numbers, zero, one, or more digits are raised, ...
Jonathan Allan's user avatar
3 votes
8 answers
586 views

The "First They Came" poem(*) by German pastor Martin Niemöller: First they came for the socialists, and I did not speak out— Because I was not a socialist. Then they came for the trade ...
Explorer09's user avatar
24 votes
25 answers
2k views

The 32 points of the compass are: N, NbE, NNE, NEbN, NE, NEbE, ENE, EbN, E, EbS, ESE, SEbE, SE, SEbS, SSE, SbE, S, SbW, SSW, SWbS, SW, SWbW, WSW, WbS, W, WbN, WNW, NWbW, NW, NWbN, NNW, NbW (SEbE is ...
Steve Bennett's user avatar
1 vote
8 answers
311 views

Tama was a cat born 26 years ago today who gained fame for being a railway station master and operating officer at Kishi Station on the Kishigawa Line in Kinokawa, Wakayama Prefecture, Japan. Photo ...
Themoonisacheese's user avatar
7 votes
2 answers
333 views

In the smallest amount of steps, prove $$(p\Longrightarrow q)\iff\lnot p\lor q$$ We base the proof system on this website. The related functionalities are: Assumption. Assume that some statement is ...
Sunny's user avatar
  • 2,004

15 30 50 per page
1
2 3 4 5
49