CARVIEW |
Select Language
HTTP/2 200
date: Tue, 29 Jul 2025 22:15:55 GMT
content-type: text/html; charset=utf-8
cf-ray: 966ffa4acd36cf00-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=12807601-5e9d-41c4-b035-f3877e5a0880; expires=Wed, 29 Jul 2026 22:15:55 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: dd07ab96-dbae-4670-9a67-818b94af7ba5
x-worker-origin-response-time: 434000000
x-dns-prefetch-control: off
set-cookie: prov=12807601-5e9d-41c4-b035-f3877e5a0880; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=.MhikOjGu0yUFjo864Y_2H.INPNaFGRfGCxL54R_05I-1753827355-1.0.1.1-go_INBpw_Ih_atyYvcSNjC3UJ5aDdzx94PrLKzaEPFN1AFhUhrOuwzGH7.EyAHytl8cBlVOLmuPsDzIRdh8A7un608fO3BGcepEF.EhrVMM; path=/; expires=Tue, 29-Jul-25 22:45:55 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=pITu.NrnS1bgb7lNcFoA2fflsUhkwYhV9g3JAnedFuU-1753827355768-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'popularity-contest' Questions - Code Golf Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more.
View results.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [popularity-contest]
A popularity-contest is a competition where the answer with the highest vote tally (upvotes minus downvotes) wins. As these are frequently closed, read the tag info and post your challenge to the sandbox first.
406 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
33
votes
8
answers
4k
views
Rig The Lottery, but Don't Get Caught
Edit: Please note there is currently a vote to close this coding challenge due to a complaint that it may be technically violating a decade old rule for this site. There is currently a discussion in ...
20
votes
12
answers
3k
views
Mexican Hat Challenge, #メキシカンハットチャレンジ
The hashtag #メキシカンハットチャレンジ* appeared on my X/twitter feed today. Japanese hackers have been drawing the "Mexican Hat Potential" 3D curve on all sorts of ...
1
vote
2
answers
316
views
The many ways to skin a `cat` [duplicate]
The well known cat command simply copies its stdin directly to stdout unchanged. But there are plenty of other commandline tools that exist...
What other commands ...
-1
votes
1
answer
172
views
Write a typeracer [duplicate]
Description
a typeracer is an apps where user could type and evaluate their typing speed and accuracy.
Criteria
User could type "A quick brown fox jumps over the lazy dog."
A visual ...
19
votes
3
answers
931
views
Universal Unicode Clock
Plot contrivance
You wake up to find that something has gone horribly wrong! Your time machine has malfunctioned and you are lost sometime between June 2022 and October 1991.
You check the computer ...
19
votes
52
answers
4k
views
Can you give me half? (No digits) [closed]
The task is to provide code that evaluates to 0.5 numerically, i.e. the output must be recognized by your chosen language as a numeric value (Number, float, double, etc), not as a string. The catch, ...
9
votes
5
answers
609
views
(Σ*)² ⟲ Σ* (aka Round-Trip a String Pair) [closed]
This is a challenge I thought of recently which I think is not hard but allows for a wide range of possible solutions. Seems like a perfect fit for the creativity of PPCG users :)
Your Task
Define two ...
-12
votes
5
answers
673
views
Print your username by ONLY using the characters in your username [closed]
You have to print out your username, by only using the characters in your username.
Standard loopholes are forbidden
This is not code-golf, so shortest does not win
Don't modify your username please
...
18
votes
28
answers
2k
views
Output a unique sign sequence
A sign sequence is an infinite sequence consisting entirely of \$1\$ and \$-1\$. These can be constructed a number of ways, for example:
Alternating signs: \$1, -1, 1, -1, ...\$
\$-1\$ for primes, \$...
0
votes
1
answer
165
views
Look for n-plicates [closed]
If you are given an array of numbers between 1 and 100 and an integer n, you must remove any instances of an item that appear greater than ...
35
votes
4
answers
3k
views
Make The Finest Magic Code Square
In math a magic square is an N×N grid of numbers from 1 to N2 such that every row, column, and diagonal sums to the same total. For example here's a 3×3 magic square:
In this challenge we'...
1
vote
0
answers
305
views
Heart-shaped quine [closed]
As you may or may not know, Valentine's day is getting close. So today, my task for you is:
Write a heart-shaped quine
Rules:
Code should look like an identifyable heart shape, i.e. Has two round ...
3
votes
6
answers
461
views
Nested lists as printable 2D objects [closed]
I don't know if something like this exists already (and I'm not finding the right key words) but if not, it felt like it could be an interesting coding puzzle.
The challenge is, to take an ...
5
votes
3
answers
562
views
Polycops and Robbers (Robbers' Thread)
This is the robbers' thread, the cops' thread is here
A polyglot is a program, that without modification, can run in multiple languages.
Robbers' Challenge
First, find a vulnerable cop's answer, ...
6
votes
9
answers
1k
views
Polycops and Robbers (Cops' Thread)
This is the cops' thread, the robbers' thread is here
A polyglot is a program, that without modification, can run in multiple languages.
Allowed languages
Any language that was made before the ...
Welcome to Code Golf and Coding Challenges Stack Exchange! This is a site for recreational programming competitions, not general programming questions. Challenges must have an objective scoring criterion, and it is highly recommended to first post proposed challenges in the Sandbox.
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
graphical-output × 59
underhanded × 46
image-processing × 26
ascii-art × 24
math × 21
restricted-source × 20
code-challenge × 16
obfuscation × 13
quine × 13
hello-world × 13
polyglot × 10
code-trolling × 10
source-layout × 10
random × 9
string × 8
geometry × 7
number × 7
code-golf × 6
music × 6
cops-and-robbers × 6
language-design × 6
date × 5
generation × 5
sorting × 5
array × 5
more related tags
Hot Network Questions
- What are ways to prevent overly long ballots?
- Uniqueness of a Universal Property
- Electrician ran neutral and ground to the same bar, and is telling me it's common practice. Pictures show my main and sub. Is he right?
- Does Genesis account allow for the possibility of intelligent man like beings existing before Adam and Eve?
- How to get the index of a point with specific attribute values (using geometry nodes)
- Book recommendations for theistic books about God's existence
- What happens if a witness is required to travel to the US to make a deposition but is refused entry?
- What happens if a player throws a barrel of caltrops at a wall?
- What is this under cabinet lamp style? Are they easily convertible to LED?
- Does the concept of information presuppose sentience?
- How Does Code Reuse Work at NASA
- I applied for a postdoc and the position was left unfilled because no candidate was found to be a good match. Should I follow up?
- Can ffmpeg record screen on wayland?
- How can I secure an old iron gate with a padlock?
- Are there any (around) 14 hidden characters in path and/or filename in File Explorer?
- Modification of proof environment is nullified by babel
- Can sunflowers disturb and mess with other surrounding plants?
- Does Christianity recognize different types of knowledge of God?
- char2path not loadable?
- Ampere's law discrepancy
- How to format an epigraph from a film
- Is the final part of an RNAV approach essentially a visual approach?
- Combining multicolumn and multicolumn to form this table
- How are program IDs generated?