1. A file containing words. They asked me to write a program to find out most 5 repeating words.
2. Provided a set of characters and a list of words, how many of those words can we create from the input characters ?
input:
chars = 'atuslirabocynkebbterasiuaracnbawp'
words = ['car','boat','plane','bus','shuttle']
output:
car => 2
boat => 1
plane => 1
bus => 2
shuttle => 0