Lucid Software Interview Question

Check if an array is increasing