PARI/GP, 43 bytes
f(g,d)=[vecmin([#[1|x<-g,x==c]|c<-w])|w<-d]
A port of pxeger's Haskell answer.
Takes the grid as a list of characters, and the word as a list of list of characters.
f(g,d)=[vecmin([#[1|x<-g,x==c]|c<-w])|w<-d]
A port of pxeger's Haskell answer.
Takes the grid as a list of characters, and the word as a list of list of characters.