Quantcast
Channel: Words with Easy Letters in a Word Search - Code Golf Stack Exchange
Viewing all articles
Browse latest Browse all 20

Answer by Kirill L. for Words with Easy Letters in a Word Search

$
0
0

R, 43 bytes

\(w,g,`*`=sapply)w*\(i)min(i*\(j)sum(!g-j))

Attempt This Online!

Since we are allowed to input integer codepoints, here it goes. Takes input as a list of codepoint vectors for words, and codepoint matrix for grid.


Viewing all articles
Browse latest Browse all 20

Trending Articles