Within a few weeks, an email is sent with a link to take a short programming challenge with codility. The test consisted of 3 questions given 180 minutes to complete.
Interview questions [1]
Question 1
Given an array of N integers, what are the number of ways to remove one element from the array such that the array will be left in a non-decreasing order?