Amazon interview question

What is the maximum possible num in an array manipulated such that