https://leetcode.com/problems/number-of-islands/ exactly this
https://leetcode.com/problems/stickers-to-spell-word/description/ an easier variation of this where the source (sticker string) is just one string and not a list and the target is also a single string.
It was a mock and the interviewer was very helpful.
Had a discussion focused around space and time complexity first before coding.