https://www.geeksforgeeks.org/print-all-the-duplicates-in-the-input-string/