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

Answer by m90 for Words with Easy Letters in a Word Search

$
0
0

Python 3, 42 bytes

lambda g,W:[min(map(g.count,w))for w in W]

Try it online!

Takes the grid as a string, with any non-letter separator, and an iterable of strings.


Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>