1.Given an array A of strings made only from lowercase letters.
2.You have to print a list of all characters that show up in all strings
within the list (including duplicates).
3.For example, if a character occurs 3 times in all strings but not 4 times,
you need to include that character three times in the final answer.
4.You have to complete commonChars() function which should print the list.
5.You can print your answer in any order.
Input Format
3 bella label roller
Output Format
Print list of all the characters in lexicographical order.
Constraints
1<=A.length <=100 1<=A[i].length <=100 A[i][j] is a lowercase character
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
3 bella label roller
Output
[e, l, l]