2
votes
Find the largest contiguous prime in a string
Nekomata, 4 bytes
qĜQÅ
Attempt This Online!
Explanation
...
2
votes
1
vote
1
vote
Output the HTML colors
Ruby, 75 bytes
Builds a list of possible colors using a Cartesian product and filters down to the correct ones with regex.
...
1
vote
Display number of occurrences for every character in an input string
Perl 5 -F, 38 + 2 = 40 bytes
$k{$_}++for@F;say"$_:$k{$_}"for keys%k
Try it online!
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
string × 2283code-golf × 2161
ascii-art × 217
decision-problem × 150
kolmogorov-complexity × 126
parsing × 125
number × 105
code-challenge × 72
natural-language × 68
math × 63
random × 61
balanced-string × 58
array × 56
restricted-source × 48
grid × 46
subsequence × 42
sorting × 40
alphabet × 39
sequence × 38
arithmetic × 38
permutations × 37
source-layout × 35
date × 34
counting × 33
palindrome × 33