Question d’entretien chez ServiceNow

basic algorithm question, some question on REST