lists occurrences of characters in the string c 2b 2b

Solutions on MaxInterview for lists occurrences of characters in the string c 2b 2b by the best coders in the world