Question d’entretien chez Rakuten

basics question from java and algorithms