KLA Interview Question

Count of Each Words in String