# Tag Info

### Highlight a Wordle guess

BQN, 19 18 bytesSBCS Improved after getting some new ideas from trying this in K. =+5>≠{⊒⌾(∾𝕨⊸⊔)˝𝕩}≍ Run online! BQN, 27 24 bytesSBCS Returns 0 for white, 1 ...
• 59.5k

05AB1E, 19 17 16 bytes Saved 1 byte thanks to Kevin Cruijssen áΣl}.γl}éεgyθJ}J Try it online! or as a Test Suite Explanation ...
• 53k

### Highlight a Wordle guess

Perl 5 + -pF, 57 bytes Returns 2 for green, 1 for yellow and leaves others as they were. ...
• 23.9k

### Highlight a Wordle guess

05AB1E, 14 bytes øDÆĀ*ø0Kvy®.; Input as a list of 1-based alphabet indices; modifies the list to change green to 0 and yellow ...
• 128k

### Solve the New York Times Spelling Bee

PowerShell, 50 44 41 39 43 bytes param($a,$m)gc z|sls $m|sls "^[$a$m]{5,9}$" Notes Using a scriptblock (unnamed function) because there's still a requirement ...
• 3,290

Perl 6, 66 63 bytes {[~] map {+$_~.tail},sort {+$_,.lc},m:g/<:L>/.classify(&lc){*}} Try it online! Explanation ...
• 10.5k

C# (Visual C# Interactive Compiler), 105 bytes ...
• 7,998

### Wordle solver challenge

Python 3, (1, 149, 945, 1118, 102) ...
• 8,383

### Same number letters

R, 106 bytes function(s){for(A in L<-LETTERS)s=sub(A,strrep(A,max(x<-+s-+Map(gsub,L,'',s,T))-x[A]--1),s,T);s} "+"=nchar Try it online! Base R approach : ...
• 5,029
Accepted

Japt v2.0a0 -P, 14 bytes f\l üv ñÊ®ÌiZÊ Try it ...
• 42.1k

### Highlight a Wordle guess

Retina 0.8.2, 45 bytes +(\w)(.{5})\1 +$2+ +(\w)(.*,.*)\1 -$2- ,.* Try it online! Link includes test cases. Takes input as two comma-separated words. Matching ...
• 172k

### Highlight a Wordle guess

R, 84 80 bytes function(s,g){e=s!=g;for(i in 1:5)s[x]=g[i]=1+is.na(x<-which(s*e==g[i])[1]);g*e} Try it online! My golfing skills are quite rusty after a long ...
• 13.9k

### Highlight a Wordle guess

K (ngn/k), 32 31 bytes {g-(x~':x{x_x?y}\y@>g)@<>g:x=y} Try it online! Minor reordering and syntax change from the original answer below (and it returns ...
• 77k

### Highlight a Wordle guess

K (ngn/k), 30 bytes Takes the guess as first argument and the secret as second. Returns a list with -1 for not highlighted, 0 for yellow and 1 for green. ...
• 59.5k

### Wordle games without repeating letters

Vyxal, 11 bytes 'L5=;5ḋ'∑Þu Try it Online! Get all 5 letter words, and all 5 word combinations where all the letters are unique. Explained ...
• 33.6k

### Solve the New York Times Spelling Bee

Mathematica, 143 130 bytes ...
• 61

• 47.2k
Accepted

### Same number letters

05AB1E, 16 bytes lDáÙSÐ¹ls¢Zα>×.; Try it online! Explanation ...
• 53k

### Same number letters

J, 33 56 46 bytes t=:~:tolower (#~1+t*~:(*>./-])t*1#.e.)@toupper Try it online! Couldn't find a way to avoid using ...
• 77k

### Same number letters

R + stringr, 108 bytes I am not very good at stringr. Returns a mixture of lower and upper case since the question says it doesn't matter. ...
• 2,599

### Same number letters

JavaScript (ES6), 112 bytes s=>(m=g=F=>s.replace(/[a-z]/gi,c=>F(c.toLowerCase())))(c=>g[c]=c+c.repeat(m-g[c]),g(c=>m=(n=g[c]=-~g[c])<m?m:n)) Try ...
• 193k

### Wordle solver challenge

BQN ┌─ ╵ 1 2 3 4 5 6 7 8 9 1 56 407 861 722 210 44 13 1 ┘ The strategy is very basic, this just chooses the first word ...
• 59.5k