You are given a List of strings and a String in the input.
Calculate the number of occurrences of the String in the List.
You are given a List of strings and a String in the input.
Calculate the number of occurrences of the String in the List.
Sample Input 1:
Fred Pola Mike Fred
FredSample Output 1:
2Create a free account to access the full topic