Question d’entretien chez Zalando

Strings are immutable, comment please. Thread-safety. Write code that finds if two string have the same chars (including quantity).