Tag Info

Make Zero From First 'n' Numbers

Vyxal, 9 bytes k-↔vÞż'∑¬ Try it Online! Explained ...
• 33.7k
1 vote

• 8,612

Sum It Up with a Digital Triangle

JavaScript (Node.js), 91 bytes x=>{p='',x.map(_=>{p+=' ';console.log(p+x.join );x=x.map((e,n)=>(e+x[n+1])%10);x.pop()})} Try it online!
• 101

Compare version numbers

Bash, 123 bytes ...

Compare version numbers

Perl 5 + -pa, 41 bytes Returns 1 for >, 0 for ...
• 24k

Sort a list and write some English!

Python 3.8 (pre-release) ...

Sum It Up with a Digital Triangle

Vyxal C, 10 bytes (₌ṄzṠvt)_W Try it Online! Another 10 byter
• 33.7k

Sum It Up with a Digital Triangle

R, 75 74 bytes -1 byte thanks to pajonk ?=\(x,n=j)if(j<-sum(x|1)){cat(strrep(" ",n-j),x%%10,"\n");x[-j]+x[-1]?n} Attempt This Online! A ...

Compare version numbers

JavaScript (Node.js), 64 bytes a=>b=>(g=i=>(a+b)[i]?~a.split.[i]-~b.split.`[i]||g(i+1):0)(0) Try it online!
• 25k

Compare version numbers

Go, 248 bytes ...
• 10.2k

Non-Decreasing Fibonacci Sequence modulo M

C (gcc), ~3.7ms ...
• 39.2k

Non-Decreasing Fibonacci Sequence modulo M

Node.js 20.10.0, ~1.5 sec. ...
• 194k
1 vote

Flipping pancakes

JavaScript (Node.js), 72 bytes f=x=>(i=1,k=x.find(c=>c>x[i++]))?[i,2,i--,...f(x,x[i-1]=x[i],x[i]=k)]:[] Try it online! Bubble sort Not directly ...
• 25k