Stickers to Spell Word
Given sticker words and a target string, find the minimum number of stickers needed to spell the target. Each sticker can be used multiple times and you have infinite copies of each. Return -1 if impossible.
Given sticker words and a target string, find the minimum number of stickers needed to spell the target. Each sticker can be used multiple times and you have infinite copies of each. Return -1 if impossible.