Question d’entretien chez Rakuten

Two sum problem and substring problem