Question

Write a function to find all duplicate characters and return the list?

Login to Submit

Examples

Input: "book"
Output: ["o"]

Input: "mathematics"
Output: ["m", "a", "t"]