Python - Character indices Mapping in String List
Given a String list, map each character in strings, to indices it occurs. Input : test_list = ['g f g', 'b e s t', 'f o r', 'g e e k s'] Output : {'g': [1, 4], 'f': [1, 3], 's': [2, 4], 'b': [2], 'e': [2, 4], 't': [2], 'o': [3], 'r': [3], 'k': [4]} Explanation : Characters mapped with their occurrin