Linked Questions

12 votes
13 answers

Iterated Dice Rolling

Given an input n where 3 <= n <= 25, perform the following steps, starting with a single ...
user avatar
6 votes
13 answers


Notice the pattern in the below sequence: 0.1, 0.01, 0.001, 0.0001, 0.00001 and so on, until reaching 0.{one hundred zeros}1 Then, continued: ...
Buffer Over Read's user avatar
35 votes
12 answers

Code Golf of Death [closed]

Write some code that causes a BSOD or kernel panic! Rules: On Windows, you must cause a BugCheck (Blue Screen of Death), on Linux (or other *nix systems) you must cause a kernel panic. Must not ...
Polynomial's user avatar
  • 4,506
22 votes
12 answers

Is it a substring of itself?

Given a string, return whether the string is a substring of the program's source code. Standard quine rules apply, meaning you cannot read your own source code. The length of the input is guaranteed ...
caird coinheringaahin g's user avatar
8 votes
12 answers

Rearranging a set of numbers into order

The Question Given a set of 9 numbers, m[], which contains only numbers 1 through 9 in a random order, with no two numbers being the same, create a program in any ...
Meow Mix's user avatar
  • 923
46 votes
11 answers

Run Stackylogic

Stackylogic is a logic-based programming language I made up that take in 0's and 1's for input and outputs a single ...
Calvin's Hobbies's user avatar
17 votes
10 answers

Sign change, loop and display with minimal padding

Input: Two integers: one negative, one positive. Output: On the first line output lowest to highest. On the second line we've removed the highest and lowest numbers and sign-changed all individual ...
Kevin Cruijssen's user avatar
42 votes
8 answers

40 Numbers in 9 Bytes

There are 40 ways a directed Hamiltonian path can be arranged on a 3×3 grid: This graphic (thanks Sp3000!) shows only the 20 undirected paths. Traverse each colored line in both directions for the 40 ...
Calvin's Hobbies's user avatar
28 votes
8 answers

Err, Where am I?

Oh no! I'm trapped in a big forest (Okay, not really, but just assume it) and I don't know where I am! Thankfully, I brought my laptop. But when I searched 'Maps', It said 'No results', and I'm ...
Matthew Roh's user avatar
  • 5,347
19 votes
8 answers

Hilbert-Curvify a Matrix

Inspired by this question Another way to unroll a 2D image into a 1D string is to use an Hilbert Curve. There are many version of this curve, depending on the number of iterations used while ...
WizardOfMenlo's user avatar
9 votes
7 answers

Detecting anagrams within a Parent String

Given two strings, a parent string and a query string respectively, your task is to determine how many times the query string, or an anagram of the query string; appears in the parent string, in a ...
Eliseo D'Annunzio's user avatar
19 votes
5 answers

Reverse-Engineer the N-Bonacci sequence[s]

EDIT: I will be accepting an answer Monday, 2/15/2016. May the bytes be ever in your favor! In his "Print the N-Bonacci Sequence" challenge, @DJMcGoathem describes the N-bonacci sequences, wherein ...
Cyoce's user avatar
  • 3,341
12 votes
5 answers

Tips for restricted source in zsh

Adapted from tips for restricted-source in Python Just like code-golf, restricted-source pushes one to exploit quirks and hidden features of the zsh language. While we already have a place to collect ...
pxeger's user avatar
  • 23.9k
8 votes
4 answers

Build a Simple Roguelike

This challenge is based on one proposed on the usenet group a few years ago. I can't find the original newsgroup post, but you can have a look a the Github repo of ...
Paul Prestidge's user avatar
55 votes
2 answers

Seriously, GolfScript, CJam, or Pyth?

Some time ago, the following question was asked: GolfScript, CJam, or Pyth? Based on the title only, I thought that it would be a very nice challenge, but unfortunately, it turned out to be a question ...
coredump's user avatar
  • 6,790

15 30 50 per page
2 3 4 5 6