Question d’entretien chez Salesforce

basic array problems and binary search interval problem