Question d’entretien chez Publicis Sapient

java OOP, SQL, algorithm question with string manipulation