Question d’entretien chez Great Developers

Given array and find half increasing and second half decrsing