Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Sandbox

Posts tagged string

This tag doesn't have any usage information yet.

This tag doesn't have a detailed wiki yet.

66%
+2 −0
Challenges Is it a valid hidden word?

The Universal Crossword has a set of guidelines for crossword puzzle submissions. In this challenge we are going to be concerned with their rules for hidden word themes. A hidden word clue consis...

1 answer  ·  posted 2mo ago by WheatWizard‭  ·  last activity 1mo ago by Razetime‭

Question string
75%
+4 −0
Challenges 55 fruit salad: choose your own Kolmogorov complexity

This is a fixed output challenge. It is similar to a standard Kolmogorov complexity challenge, except you get to choose your own fixed output. Given no input, output 55 fruits. You may choose any 5...

5 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 2mo ago by trichoplax‭

Question string
50%
+0 −0
Sandbox 3D compass point from 3D coordinates

posted 1y ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

Article string
50%
+0 −0
Sandbox A word suggester [FINALIZED]

posted 5mo ago by trichoplax‭  ·  edited 3mo ago by trichoplax‭

Article string
60%
+1 −0
Challenges Word suggesting

Suggest a word from a word list, given a string. Motivation Imagine typing a word one letter at a time, and seeing a suggested word after each letter is typed. At first the suggested word is simp...

0 answers  ·  posted 3mo ago by trichoplax‭

Question string
71%
+3 −0
Challenges Sort letters by height

Given a sequence of lower case letters, sort them into order of height. Heights The heights of letters are dependent on font, so for this challenge the height order to be used is as defined below...

5 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 5mo ago by Taeir‭

Question string
66%
+2 −0
Sandbox Caesar shift cipher [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
50%
+0 −0
Sandbox 99 Shortened Bottles of Beer [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
60%
+1 −0
Sandbox My house is destroyed! Can you make me one? [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
66%
+2 −0
Sandbox Stairs? Stairs! Stairs. [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
60%
+1 −0
Sandbox Abbreviate everything [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
60%
+1 −0
Sandbox Define a mathematical expression in English [released]

posted 2y ago by General Sebast1an‭  ·  edited 5mo ago by trichoplax‭

Article string
66%
+2 −0
Challenges Build a replacement ball in regex.

In this challenge you will take a number $n$ and a string $X$ of length $\geq n$, and produce a regular expression which matches all strings that are withing $n$ character substitutions of $X$. Sp...

3 answers  ·  posted 6mo ago by WheatWizard‭  ·  last activity 6mo ago by WheatWizard‭

Question string
66%
+2 −0
Challenges Are these reduced forms of the same thing?

Task You are going to take three strings as input $A$, $B$ and $X$. And your goal is to determine if there exists a third string $S$ such that both $A$ and $B$ can be formed by iteratively removin...

0 answers  ·  posted 6mo ago by WheatWizard‭  ·  edited 6mo ago by WheatWizard‭

Question string
81%
+7 −0
Challenges Efficient censorship

You are a low-level censor working for the Ministry of Media Accuracy. Part of your job is to make sure that certain words don't appear in publications. Every morning you get a fresh stack of next...

4 answers  ·  posted 6mo ago by WheatWizard‭  ·  last activity 6mo ago by Shaggy‭

Question string
66%
+2 −0
Sandbox Multiply two strings [FINALIZED]

posted 2y ago by celtschk‭  ·  edited 6mo ago by trichoplax‭

Article string
77%
+5 −0
Sandbox Repeat the characters [FINALIZED]

posted 2y ago by celtschk‭  ·  edited 6mo ago by trichoplax‭

Article string
66%
+2 −0
Sandbox Convert integer to English [FINALIZED]

posted 2y ago by celtschk‭  ·  edited 6mo ago by trichoplax‭

Article string
71%
+3 −0
Challenges 8 coexisting queens

This is a fixed output challenge. Output a textual representation of a chessboard hosting 8 queens, none of which are attacking each other. There are 92 ways of arranging them, 12 if rotations and...

5 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 10mo ago by m90‭

Question string
75%
+4 −0
Challenges Encode with ROT13.5

Given a string, convert all of its letters using ROT13, and all of its digits using ROT5. This is sometimes referred to as ROT13.5. Input A sequence of printable ASCII characters (character cod...

4 answers  ·  posted 1y ago by trichoplax‭  ·  last activity 1y ago by Razetime‭

Question string
60%
+1 −0
Sandbox Encode with ROT13.5 [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
50%
+0 −0
Sandbox Sort letters by height [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
50%
+0 −0
Challenges Circle of text characters

Given a radius R, output a text representation of a circle. Input A positive integer R (strictly greater than zero) You do not need to handle values of R greater than 32 Output A square ...

0 answers  ·  posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Question string
50%
+0 −0
Sandbox Circle of text characters [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
55%
+3 −2
Challenges "Hello, {name}!"

Background While we do have a "Hello, World!" challenge, we still don't have one regarding input. So let's do one! Challenge Create a program that takes an input (not as a function argument) the...

16 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 1y ago by south‭

Question string
50%
+0 −0
Sandbox Cod golf: choose your own shoal

posted 1y ago by trichoplax‭

Article string
50%
+0 −0
Sandbox 8 coexisting queens [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
50%
+0 −0
60%
+1 −0
Sandbox Rationalise recurring binary [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
50%
+0 −0
Challenges Rationalise recurring binary

Given a potentially recurring binary string, output the number it represents, as a fraction in lowest terms. The notation used in this challenge for recurring digits is non-standard. An r is used ...

0 answers  ·  posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Question string
60%
+1 −0
Challenges Chequer checker

A chequer board (also spelt "checker board" in some places) is an 8 by 8 grid of squares alternating between 2 colours. Check whether a provided pattern could be a region of a chequer board. The c...

1 answer  ·  posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Question string
71%
+3 −0
Sandbox Chequer checker [FINALIZED]

posted 1y ago by trichoplax‭  ·  edited 1y ago by trichoplax‭

Article string
81%
+7 −0
Challenges Word Count Tool

In Google Docs, the word count tool looks like this: Pages would not make sense, but your goal is to implement every other count. Definitions Words are strings of text separated by any amount ...

9 answers  ·  posted 2y ago by Quintec‭  ·  last activity 1y ago by torres‭

Question string
60%
+1 −0
Sandbox Word wrap a string

posted 2y ago by celtschk‭

Article string
60%
+1 −0
Challenges Stairs? Stairs! Stairs.

Challenge Make a program that takes input of an integer that's $n > 1$ and print out a staircase using a specific character for stair basing (hashes (#) for demonstration; you can use spaces,...

7 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by radarek‭

Question string
86%
+11 −0
Challenges Weave Strings Together

Given a list of strings(and optionally, their length) as input, weave the strings together. Intro Your goal is to mimic the WV operator in Pip. Take a list of strings and alternate between their ...

13 answers  ·  posted 3y ago by Razetime‭  ·  last activity 2y ago by radarek‭

Question string
77%
+5 −0
Challenges Repeat the characters

Given a string and a non-negative integer $n$, output a new string in which each character is repeated $n$ times. Test cases: "abc", 1 -> "abc" "Hello", 0 -> "" "double", 2 -> "ddo...

14 answers  ·  posted 2y ago by celtschk‭  ·  last activity 2y ago by south‭

Question string
77%
+5 −0
Challenges 99 Shortened Bottles of Beer

Disclaimer This challenge also exists in CGCC, but if you want to compete here (too), then hop in! Challenge Recreate "99 Bottles of Beer on the Wall", using the least bytes possible. Lyrics: ...

13 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by General Sebast1an‭

Question string
75%
+4 −0
Challenges Caesar shift cipher

Introduction What is the Caesar shift cipher (ROT$n$)? It's basically a cipher sequence that changes a letter's value from the number chosen. If we use ROT1 on "games", we get "hbnft". The basic i...

7 answers  ·  posted 2y ago by General Sebast1an‭  ·  edited 2y ago by General Sebast1an‭

Question string
50%
+1 −1
Sandbox 99 FizzBuzzes of Beer On Golf [cancelled]

posted 2y ago by General Sebast1an‭  ·  edited 2y ago by General Sebast1an‭

Article string
71%
+3 −0
Challenges Convert integer to English

Given a non-negative integer up to $999\,999\,999$, write it in English. The input number can be in any form other than English (though you'll typically want to use the native integer type of your...

3 answers  ·  posted 2y ago by celtschk‭  ·  last activity 2y ago by Moshi‭

Question string
66%
+2 −0
Challenges Define a mathematical expression in English

Background Inspired by this challenge that is also a mathematical English translator. Challenge Write a program that translates a mathematical expression using English with the following specifi...

1 answer  ·  posted 2y ago by General Sebast1an‭  ·  edited 2y ago by General Sebast1an‭

Question string
71%
+3 −0
Challenges Abbreviate everything

Challenge Make a program that takes input of a string and abbreviate it. All letters of an abbreviation are capitalized, so keep that in mind. Whitespace, numbers and non-English characters ar...

3 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by Hakerh400‭

Question string
71%
+3 −0
Challenges My house is destroyed! Can you make me one?

Background A House of I I went on an adventure Grabbed resources and making deeds Like start to work on the materials To build the shelter I need It was a marvelous one At least in the eyes ...

10 answers  ·  posted 2y ago by General Sebast1an‭  ·  last activity 2y ago by Quintec‭

Question string
71%
+3 −0
Challenges Multiply two strings

Given two strings, I define their product as follows: If any of the two strings is empty, the product is the empty string. If the second string consists of a single character, the result ...

6 answers  ·  posted 2y ago by celtschk‭  ·  last activity 2y ago by Hakerh400‭

Question string
80%
+6 −0
Challenges Is it a near-anagram?

Two words are anagrams of each other if the letters of one can be reordered to spell the other; e.g. ADOBE and ABODE are anagrams. An alternate way of describing it is that both words contain the s...

5 answers  ·  posted 3y ago by snail_‭  ·  edited 2y ago by General Sebast1an‭

Question string
40%
+0 −1
Sandbox Code bowling "Code bowling"

posted 2y ago by General Sebast1an‭

Article string
77%
+5 −0
Challenges Gamer Meme Creator

Challenge You will be given a string and an ascii art as input. The string must be placed above the ascii art, and centered based on its longest line. The text BOTTOM TEXT must be placed below...

4 answers  ·  posted 2y ago by Razetime‭  ·  last activity 2y ago by user‭

Question string
66%
+2 −0
Sandbox Is it a near-anagram? [FINALIZED]

posted 3y ago by snail_‭  ·  edited 3y ago by snail_‭

Article string
60%
+1 −0
Sandbox Bijection between natural numbers and finite sets

posted 3y ago by Hakerh400‭  ·  edited 3y ago by Hakerh400‭

Article string