Linked Questions

522 votes
985 answers
194k views

"Hello, World!"

So... uh... this is a bit embarrassing. But we don't have a plain "Hello, World!" challenge yet (despite having 35 variants tagged with hello-world, and counting). While this is not the most ...
Martin Ender's user avatar
551 votes
241 answers
136k views

Showcase of Languages

Notes This thread is open and unlocked only because the community decided to make an exception. Please do not use this question as evidence that you can ask similar questions here. Please do not ...
26 votes
30 answers
2k views

Not so triangular numbers

Let's consider the sequence \$S\$ consisting of one \$1\$ and one \$0\$, followed by two \$1\$'s and two \$0\$'s, and so on: $$1,0,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,0,0,...$$ (This is A118175: Binary ...
Arnauld's user avatar
  • 193k
45 votes
16 answers
3k views

Scramble words while preserving their outlines

This is much more advanced than How to randomize letters in a word and Cambridge Transposition because of the rule about which letters may be swapped with which. A simple regex will not suffice here. ...
Adám's user avatar
  • 30.4k
8 votes
27 answers
3k views

Generate this huge right triangle

Your task is to print out this exact text: ...
js2022's user avatar
  • 163
26 votes
5 answers
1k views

Determine the area enclosed by slashes

For example, let's look at the following ASCII art: ...
the default.'s user avatar
  • 8,425
25 votes
10 answers
878 views

Help me golf my numbers!

When writing code-golf programs, I usually end up using some numeric constants. I always put them in decimal because that's how I think, but I just realized that my language supports other number ...
musicman523's user avatar
  • 4,772
10 votes
12 answers
3k views

Find the nth digit of Euler's number

Challenge Given a positive integer n, you must calculate the nth digit of \$e\$, where \$e\$ is Euler's number (2.71828...). The format of the output can be a ...
applemonkey496's user avatar
9 votes
8 answers
2k views

Music with pi and e

Because I forgot to celebrate Pi Day (14.3), let's celebrate with \$\pi\$, \$e\$ (Euler's number) and music! Challenge No, we don't have time to eat a pi-pizza, let's make a program. What you need is ...
math scat's user avatar
  • 9,408
21 votes
6 answers
1k views

A Triangular Slice of Squared Pi

Inspired by Bake a slice of Pi Challenge Given input 3 <= n <= 100 and 3 <= y <= n, construct an ...
AdmBorkBork's user avatar
  • 43.4k
38 votes
3 answers
1k views

Build a golfing language with me

A lot of PPCG users helped with the creation of this challenge, both in chat and the Sandbox, specifically Martin Ender, AdmBorkBork, Emigna and user202729 Our community has found it necessary to ...
caird coinheringaahin g's user avatar