Share Your Experience: Take the 2024 Developer Survey

# Tag Info

### Apply gravity to this matrix

Minecraft, 0 bytes This is a bit cheaty, but the question does state you can take input in "all reasonable forms" and a grid of Minecraft blocks seems reasonable enough. Input is given as a ...
• 877

### String with the smallest sum of ASCII values

Ruby, 19 bytes ->x{x.min_by &:sum} Try it online!
• 22.1k
1 vote

### Weave two lists, cycling if necessary

Desmos, 109 bytes a=A.length b=B.length i=[2...2max(a,b+1)] k=floor(i/2)-1 f(A,B)=\{\mod(i,2)=0:A[\mod(k,a)+1],B[\mod(k,b)+1]\} Try It On Desmos! Try It On Desmos! ...
• 13.5k
1 vote

• 15.2k
1 vote

### Apply gravity to this matrix

Arturo, 59 bytes $=>[f:$->m->map size m\0'i->map m'r->r\[i-1]f map f&=>sort] Try it!
• 24.3k
1 vote

### I'm Lazy*: Top-left align my text

Nibbles, 10 nibbles (5 bytes) '.';@| Attempt This Online! Explanation It turns out that Nibbles' builtins are a very good fit for this challenge. ...
• 39.7k
1 vote

### The Game of Cat And Mice | With Matrices

Python3, 287 bytes ...
• 7,231
1 vote

### How secure are my locks?

JavaScript (Node.js), 102 bytes ...
• 24.4k
1 vote

### Xorting an array

R, 123 112 bytes -11 bytes thanks to @pajonk ...

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