CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 20:45:46 GMT
content-type: text/html; charset=utf-8
cf-ray: 965efb7c1fb8c19c-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=994b89be-df64-4b28-98b9-02eca09f9a11; expires=Mon, 27 Jul 2026 20:45:46 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: 12819361-6099-4a34-b896-d5b3dd1fb108
x-worker-origin-response-time: 519000000
x-dns-prefetch-control: off
set-cookie: prov=994b89be-df64-4b28-98b9-02eca09f9a11; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=NaidehMnKizW.X.OmQgX8IMQ3MqO5SNqAbvA.zYXMLE-1753649146-1.0.1.1-..jT4NpBDUJpzRRw5ZBfQP1KuJeNVvC9P5OapmvPTgBPHM8z7tjsAu2qH1UnXPtFaJKa6lkP.U3SqhIVhzmxlfYgiYAqiaCTJNZrG6U2RqI; path=/; expires=Sun, 27-Jul-25 21:15:46 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=zkIfCueHwNWkI2158MRL5VdMi4lUIsp397xwswnzT8Y-1753649146795-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 ExchangeTeams
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)
32
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
314
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
930
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
672
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
459
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
- how is it possible for a player to have crossed 2400 and secure 3+ IM norms to stay FM
- Why am I winning always? A coincidence perhaps?
- Story that taught cryptography in the form of a manga
- Heretofore I think I have been using 'heretofore' incorrectly
- How to deter wasps from an untreated larch fence
- How to navigate in the Universe's Heat Death
- Does passive DisplayPort-HDMI adapter work with 4K 60Hz, if host supports DP 1.2 and HDMI 1.4?
- Why is time reversal not a natural part of the Galilean group?
- Easy ways to draw vector diagrams in TikZ?
- Mac Pro 2008 almost dead
- Why legacy paying method for ZKSync?
- When was thermal expansion in solids first described?
- Algebraic independence of even polynomials
- Were the Fantastic Four the only superheroes on Earth-828 in The Fantastic Four: First Steps?
- I don't have enough alive employees to start the day. What now?
- Hypothetical copyleft exposure developer on proprietary project, legal?
- How should one pronounce plural French-derived German words?
- Sci-fi novel human-centered, with alien empire using stargates, humans try to avoid overruling
- Why did the Holy Spirit send Jesus to the wilderness to be tempted by Satan?
- "I met a monk and philosopher." How many people did I meet?
- Still learning electronics, can you explain this voltage protector failure?
- What is the weight of holy water?
- Package `paracol` and custom environment
- Why are police personnel of all ranks called officers?