Get All Duplicate Characters

easy
Print the arraylist containing all the duplicate characters from the given String.

Input Format

A String str

Output Format

ArrayList of characters

Constraints

1<=str.length()<=100

Notice

NA

Example

Input
yoyosnehala
Output
[y, o, a]
Previous
First Non Repeated Character
Next
Count Vowels And Consonants

Related Questions