Sollicitatievraag bij Great Developers

Given array and find half increasing and second half decrsing