The coding question was based on arrays. Given an array, find the max no of chunks the array can be partitioned into, so that the concatenation of chunks will give the sorted array..
Ex 1: arr=[1,0,2,3,4]..chunks can be [1,0] [2] [3] [4].. sorting of the chunks gives [0,1] [2] [3] [4].. concatenation gives [0,1,2,3,4] which is the sorted array. So op=4.
Ex 2: arr=[ 4,3,2,1,0]..max no of chunks will be 1.