CARVIEW |
Select Language
HTTP/2 200
date: Mon, 28 Jul 2025 00:23:49 GMT
content-type: text/html; charset=utf-8
cf-ray: 96603ae3cbbac1a1-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=19c6478f-5fba-4ab3-b993-7b0b1706d8ac; expires=Tue, 28 Jul 2026 00:23:49 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: 99903f46-b1ca-4a67-b4af-e46ff94d8fac
x-worker-origin-response-time: 588000000
x-dns-prefetch-control: off
set-cookie: prov=19c6478f-5fba-4ab3-b993-7b0b1706d8ac; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=30GUo14kvYZ.vh95VasfN9prDcJkGAuILoamZa4gcpk-1753662229-1.0.1.1-E0QnzHsWvA3koWd.bt4NgtF47fWWIntsPrcF3ILjs6.c.tci6hFckHlIzJXRNawoyKFgX2ke6UCPrm88arI_UKO2maStwK15Vmyv0tFctdI; path=/; expires=Mon, 28-Jul-25 00:53:49 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=hcaveJ50c83Q4lIRsH3CxxktDaz2yYhb6w1F32bk2Yc-1753662229689-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
- Civilian airplanes with inside fuselage jet engines
- Are classified documents subject to a subpoena in discovery?
- Sci-fi book where aliens make contact, ask humans to transport themselves to nearby portal
- What is the weight of holy water?
- What is the parity of a neutrino?
- What is the Greek word for God used in Codex Sinaiticus? John 1
- Self explanatory
- Lower bound on ratio of expected maxima of i.i.d. samples from distribution on [0,1]
- Why are police personnel of all ranks called officers?
- how is it possible for a player to have crossed 2400 and secure 3+ IM norms to stay FM
- About the translation of Matthew 19:17
- Will a reinforced 1" concrete slab be durable?
- Math bolder than surrounding text in footnotes
- Randomly distribute objects with a bias in geometry nodes
- Meaning of 芭蕉 in Tang age
- How to extend an MDF shelf?
- Is this a violation of open source?
- “Unclear step in a math book for entertainment”
- What is the citation for Augustine's "consensus, non concubitus..."
- How can I turn the text in a PNG file back into text layer?
- Time Machine backup disk not writeable any longer
- Is there a name for the beat in drum and bass that is a distillation of the amen break
- Are you required to protect trade secrets revealed to you even if you didn't sign an NDA?
- What is the outcome when an officer's statement under oath contradicts video evidence