CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 20:26:19 GMT
content-type: text/html; charset=utf-8
cf-ray: 965edefd6ce025e0-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=726a3f29-9ba9-467f-abac-18fa6c2874cd; expires=Mon, 27 Jul 2026 20:26:19 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: e25fa79d-542c-414a-8a50-52b95129e071
x-worker-origin-response-time: 485000000
x-dns-prefetch-control: off
set-cookie: prov=726a3f29-9ba9-467f-abac-18fa6c2874cd; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=hbV49t.R7k5T8tsFp2WO4wzRsfOEj7nVLgXWbjKYmWs-1753647979-1.0.1.1-hcs.zN_KA11tdwIN8xDS4euBEBt5VdHM.e02ryHd2QSpPALqastIWhNyo8EECjNqhTYoHB4kJpOJTtV2VPkCHe7cYidT7Meg6UouPLHqvTc; path=/; expires=Sun, 27-Jul-25 20:56:19 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=6MZAIa6aVz.2giBov9JIXXMhNOq68s0y6ZGeW5gG4xY-1753647979607-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'string' 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 [string]
A competition to solve a particular problem through the usage and manipulation of strings.
2,249 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
15
votes
8
answers
1k
views
Output shortest string containing all input strings
Given a list of words (letters only) in no particular order, output the shortest string containing every word (disregarding case). Output must be lowercase, except the first letter of each word is ...
11
votes
3
answers
2k
views
The shortest NP-complete problem
Find an NP-complete problem that covers all finite ASCII strings, and present a solver for the problem in the programming language of your choice.
By the definition, if there is a finite ASCII string ...
27
votes
26
answers
3k
views
Reverse NATO Phonetic Spelling
NATO Phonetic Spelling is a way to spell out letters so that they're distinguishable over a noisy connection. The mapping of letters (stolen from here) is as follows:
...
4
votes
4
answers
176
views
Shortest TeX document that generates ``Overfull \hbox`` Warning
Attempt to produce the shortest TeX document that generates the warning
Overfull \hbox (<x>pt too wide) in paragraph at lines <y>--<z>
that ...
19
votes
12
answers
1k
views
Print Dyck paths
Definition
A Dyck path of length \$2n\$ can be defined as a two-dimensional path such that:
The path consists of straight lines of equal length.
The path goes left to right while moving either up or ...
21
votes
20
answers
3k
views
Albuququerquerquerquerque challlengenge
Introduction
Esolangs.org user "Tommyaweosme", after getting 3-4 hours into a 17-hour video called "albuquerque but every time a word repeats it loops (normal speed)", created this ...
23
votes
10
answers
2k
views
Turn a string into a snake
Write a function or program which writes an input string out as a snake.
The snake starts heading to the right. If a / or \ ...
12
votes
14
answers
1k
views
Decide Equality of Closed Surfaces
Objective
Given two closed surfaces (a.k.a. closed 2-manifolds), decide whether they're homeomorphic.
Introduction
In lay terms, a closed surface is a finite-sized shape that resembles a flat plane ...
9
votes
19
answers
965
views
Determine Centrosymmetric String
Let's define a centrosymmetric string as follows:
First, add spaces to the end of each line to make the input a rectangle \$ A_{m×n} \$, the number of spaces added should be minimized and may be zero....
16
votes
12
answers
922
views
Repetition-restricted strings
Given an alphabet size, \$n>0\$, and an occurrence limit, \$k>0\$, produce the number, \$a(n, k)\$, of strings that may be constructed from the \$n\$ letters in the alphabet which have no more ...
13
votes
9
answers
829
views
split string into minimum number of palindromic substrings
Every string can be split into substrings that are all palindromes quite easily. For example, "abab" can be split into the palindromes ...
6
votes
5
answers
690
views
Interpret a SqueezeL string
Interpret a SqueezeL string
SqueezeL is a golfing language I'm developing. Its main distinguishing feature is its 40 character code page, which led me to create a semi-complicated encoding method for ...
27
votes
25
answers
1k
views
Distinct characters and distinct sizes
In this challenge you will write a program or function which takes a string and calculates its score.
The score is the number of distinct characters, plus each integer \$n\$ such that there is a ...
23
votes
16
answers
2k
views
Print the largest hidden double
Given a string of space delimited words, find the longest word such that, when that word is replaced with spaces, it is still a subsequence of the remaining string. Then, replace everything, except ...
9
votes
18
answers
2k
views
All code and no play makes 31415 a dull boy
In this crossword puzzle by Jack Lance, all the letters have been replaced by a fixed text string: All work and no play makes Jack a dull boy. Therefore, you have ...
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
code-golf × 2130
ascii-art × 217
decision-problem × 147
parsing × 125
kolmogorov-complexity × 124
number × 104
code-challenge × 70
math × 63
natural-language × 62
random × 61
balanced-string × 58
array × 54
restricted-source × 48
grid × 46
subsequence × 42
sorting × 40
sequence × 38
alphabet × 38
arithmetic × 38
permutations × 37
source-layout × 35
counting × 33
date × 33
palindrome × 32
unicode × 30
more related tags
Hot Network Questions
- Symbols for A.P. Morse's book in Set Theory
- Testing Hypotheses with Limited Data in an Ecological Experiment. How do I approach my data?
- Can you identify this aircraft landing at Llanbedr Airfield?
- What were the two colored keys on a MUPID for?
- How do Japanese people understand the reading of a single kanji with multiple readings in their everyday life?
- Measuring position on a system of identical particles
- Blinded despite Blindsight?
- Were the Fantastic Four the only superheroes on Earth-828 in The Fantastic Four: First Steps?
- Is this a violation of open source?
- When did the OEIS get even better?
- Is there any verse which says that throughout the Vedas the praise of Shiva is sung?
- I don't understand Photos Library.photoslibrary
- Book recommendations for theistic books about God's existence
- Lower bound on ratio of expected maxima of i.i.d. samples from distribution on [0,1]
- Rec Letter from Professor (who I haven't done research with) or from Work Supervisor
- Why am I winning always? A coincidence perhaps?
- A word with five hundred of a single alphabet? That must be a myth.
- Does passive DisplayPort-HDMI adapter work with 4K 60Hz, if host supports DP 1.2 and HDMI 1.4?
- Mac Pro 2008 almost dead
- 3D projective transformations on text in LuaMetaFun
- Why is time reversal not a natural part of the Galilean group?
- Kepler's first law proof error - can anyone help me see what the error is?
- How to extend an MDF shelf?
- Extensions of diagonalizable, respectively multiplicative-type, groups