The question is
You have been given a array and then some number of query
For each query you have to check whether the sub-array forms a mountain or not. The q