Problem Description
A = [1, 2, 3, 4]
Input 2:
A = [1, 1, 2, 2]
4
Output 2:
2
All elements are greater than all of its prior elements.
Explanation 2:
Index 1 will be considerd in answer. Also Elements at index 3 is greater than all of it's previous elements.
NOTE: You only need to implement the given function. Do not read input, instead use the arguments to the function. Do not print the output, instead return values as specified. Still have a question? Checkout Sample Codes for more details.