See more
…ups is 2: We have to split the above list into two lists. Let’s think if we divide it from Ai, A(i+1). New sum of ranges will be,