8 votes

Straight pen strokes for Prime Numbers

Vyxal,  15  14 bytes -1 thanks to lyxal (vectorisation). ʁǎøṘC»ṫN»$%5%Ṡ Try it Online! How? ...
Jonathan Allan's user avatar
7 votes

Otteretto Classic game scoring method

JavaScript (ES6), 37 bytes The method was first found by Luis felipe De jesus Munoz so make sure to upvote this answer as well! Expects an array of characters. ...
Arnauld's user avatar
  • 192k
5 votes

Straight pen strokes for Prime Numbers

Factor + math.primes math.unicode roman, 63 bytes [ nprimes [ >roman [ "c--ildvx----m"index 3 /i ] map Σ ] map ] ...
chunes's user avatar
  • 24k
5 votes

Straight pen strokes for Prime Numbers

Vyxal, 19 18 bytes ʀǎƛøṘkṘvḟ»øṪK»fvi∑ Try it Online! ...
noodle man's user avatar
  • 6,862
5 votes

Otteretto Classic game scoring method

JavaScript (Node.js), 47 bytes Expects the input to be an array of characters Basically, r[k]*k where k is the current length ...
Luis felipe De jesus Munoz's user avatar
4 votes

Maximal linear sublists

Jelly, 18 bytes JŒPịIEɗƇ⁸fƑⱮS¥ÐṂ`ị A monadic Link that accepts a list of integers and yields a list of the maximal linear sublists. Try it online! Or see the test-...
Jonathan Allan's user avatar
3 votes

Sum of Binary Substrings

Perl 5 -p, 53 bytes $\=-$_;$_=sprintf'%b',$_;/.*(?{$\+=oct"0b$&"})(?!)/}{ Try it online! ...
Xcali's user avatar
  • 14.9k
3 votes

Straight pen strokes for Prime Numbers

05AB1E, 14 bytes Åpε.XÇŽœ s%5%O Port of JonathanAllan's Vyxal answer, so make sure to upvote him as well! Try it online. Outputting the infinite sequence without ...
Kevin Cruijssen's user avatar
3 votes

Otteretto Classic game scoring method

J, 31 16 bytes (#*1+1#.2~:/\])\ Try it online! -15 by porting alephalpha's excellent idea!!
Jonah's user avatar
  • 33.4k
3 votes
Accepted

Otteretto Classic game scoring method

Nekomata, 7 bytes pNᵉ#ĉ#* Attempt This Online! ...
alephalpha's user avatar
2 votes

Bit run rundown

Thunno 2 G, 3 bytes ḃġḷ Try it online! Explanation ...
The Thonnu's user avatar
2 votes

Bit run rundown

Nekomata, 4 bytes ƂĉŞ# Attempt This Online! ...
alephalpha's user avatar
2 votes

Stackable sequences

Nekomata + -e, 5 bytes Oᵐ{x= Attempt This Online! ...
alephalpha's user avatar
2 votes

Stackable sequences

Haskell, 53 bytes (a:b)#x=sum[1|i<-x,a==i]:b#(a:x) y#x=y f x=x#[]#[]==x Attempt This Online! Inches out the former best Haskell answer by implementing an ...
Wheat Wizard's user avatar
  • 98.5k
2 votes

Stackable sequences

Jelly, 6 bytes ċṪƊƤ⁺⁼ Try it online! A monadic link taking a list of integers and returning 1 for stackable and 0 for not. Based on my answer to @WheatWizard’s ...
Nick Kennedy's user avatar
  • 21.1k
2 votes

Speed of Lobsters

Thunno 2 cJ, 10 bytes Xıxh=?ẋḣ:0 Try it online! Uses 0 as the filler character. Explanation ...
The Thonnu's user avatar
2 votes

Fractal Smoke Sequence

Uiua, 28 bytes ⇌⍥(⊂⊗0⍘⊚∸↥0-⬚∞-,▽◿2⇡⧻...)∶[] Try it online! I don't think I like the "quadruplicate" up front... Takes n and outputs the first n values of ...
Bubbler's user avatar
  • 76k
2 votes

Straight pen strokes for Prime Numbers

Wolfram Language(Mathematica), 127 101 bytes Saved 26 bytes thanks to @att's comment. Golfed version. Try it online! ...
138 Aspen's user avatar
  • 5,741
2 votes

Straight pen strokes for Prime Numbers

Excel, 142 139 bytes ...
Jos Woolley's user avatar
  • 1,942
2 votes

Otteretto Classic game scoring method

Charcoal, 18 bytes IEθ×⊕κ⊕LΦ…θκ⁻λ§θ⊕μ Try it online! Link is to verbose version of code. Explanation: Port of my Retina answer. ...
Neil's user avatar
  • 170k
2 votes

Otteretto Classic game scoring method

05AB1E, 7 bytes ηεÔgyg* Port of @alephalpha's Nekomata's answer, so make sure to upvote that answer as well! Try it online or verify all test cases. ...
Kevin Cruijssen's user avatar
2 votes

Otteretto Classic game scoring method

Ruby, 43 bytes ->l{a=b=0;l.map{|x|(b+=(l!=l=x)?1:0)*a+=1}} Try it online!
G B's user avatar
  • 21.9k
1 vote

Finding "sub-palindromes".

Nekomata, 8 bytes qNᵗz:↔=ũ Attempt This Online! ...
alephalpha's user avatar
1 vote

Finding "sub-palindromes".

Thunno 2, 7 bytes FœḣæḲ:U Try it online! Explanation ...
The Thonnu's user avatar
1 vote

Even sum subarrays

Thunno 2 S, 3 bytes ƑʂE Try it online! Explanation ...
The Thonnu's user avatar
1 vote

Longest Zero Sum Sub-array

Vyxal 3 G, 3 bytes Ṣᶻ∑ Try it Online! filter by falsy my beloved
pacman256's user avatar
  • 3,760
1 vote

cadaddadadaddddaddddddr - linked list accessing

Vyxal, 71 bitsv2, 8.875 bytes ḢṪṘ(₍ḢhnAi Try it Online! Explained ...
lyxal's user avatar
  • 33.2k
1 vote

Speed of Lobsters

Arturo, 42 bytes $[s t][i:0map s'c->(=c<=t\[i])?['i+1]->'*] Try it!
chunes's user avatar
  • 24k
1 vote

Even-Odd chunks

Ruby, 35 bytes Returns an Enumerator that yields arrays of code points. ->s{s.bytes.slice_when{_1%2==_2%2}} Attempt This Online!
Jordan's user avatar
  • 10.1k
1 vote

Is it a circumfix?

Nekomata + -e, 7 bytes ≠;sᵃN,= Attempt This Online! ...
alephalpha's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible