Given a list of words in newpaper which may contains duplicates, write a a function as follows to evaluate if the words in ransom note can be constructed from the newspaper.
boolean CanDoRansom(List<string> ransomNote, List<string> newspaper)
Could you add a company tag, please? Would it be possible for you to provide an example? Thank you