Linked Questions

27
votes
27answers
2k views

Display a number in Toki Pona

Toki Pona is a constructed language with 137ish words, designed to constrain the speaker to expressing ideas in a simple and straightforward manner, reducing ideas to more essential forms. Often, ...
297
votes
157answers
107k views

Tips for golfing in Python

What general tips do you have for golfing in Python? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to Python (e.g. "remove comments" is ...
69
votes
83answers
10k views

Make the Mexican Wave

In as few bytes as possible, write a program or function that outputs the following: ...
93
votes
86answers
16k views

It was just a bug

Inspired by the bugged output in @Carcigenicate's Clojure answer for the Print this diamond challenge. Print this exact text: ...
73
votes
41answers
20k views

Shortest Game of Life

Conway's Game of Life is the classic example of cellular automation. The cells form a square grid and each has two states: alive or dead. On each turn, each cell simultaneously updates according to ...
10
votes
6answers
4k views

Determine Beckett Grading Service (BGS) Final Grade

Introduction: Beckett Grading Service (aka BGS), is a company which encapusulates and grades Trading Card Game (TCG) cards (i.e. sport cards, Magic The Gathering, Pokémon, Yu-Gi-Oh, etc. etc.). The ...
41
votes
45answers
8k views

I done did made a spaceship maw!

Introduction: Inspired by this comment of @MagicOctopusUrn on @Emigna's 05AB1E answer for my "It was just a bug" challenge: 8F9ÝÀNð×ý}».∊ I done did made ...
19
votes
68answers
5k views

Round towards zero

This is a simple task. Given a positive or negative real number, round it to the next whole integer closer to zero. The challenge Take input through any reasonable form (stdin, function, etc.) of ...
52
votes
95answers
9k views

Alphabet triangle

You are to print this exact text: ...
21
votes
40answers
3k views

X Steps Forward, 1 Step Back

Here the first 100 numbers of an easy sequence: ...
31
votes
28answers
3k views

Implement the Zundoko Kiyoshi function

Background The Zundoko Kiyoshi function originates from this tweet by kumiromilk. Translated from Japanese, it reads roughly as follows: The test for my Java lecture had a problem that said "...
155
votes
89answers
55k views

Tips for golfing in JavaScript

What general tips do you have for golfing in JavaScript? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to JavaScript (e.g. "remove ...
14
votes
28answers
2k views

Injection from two strings to one string

Challenge Write a program that applies an injective function which takes an ordered pair of strings as input and one string as output. In other words, each input must map to a unique output. ...
11
votes
59answers
2k views

Print multiplication tables by input

In this challenge you've to print multiplication tables by input, Here are some examples: ...
22
votes
29answers
2k views

Alternating Triangles

Given a strictly positive integer n (therefore 0 isn't a valid test case), produce an approximate triangle of height ...

15 30 50 per page
1
2 3 4 5
7