Domanda di colloquio di Great Developers

Given array and find half increasing and second half decrsing