## Codeforces Round 448 – Problem E

Problem E : Link to the problem Statement :You are given an array A and some queries of form :- 1) Given two intervals [l1,r1] and [l2,r2] where a random value is selected from each of the intervals and swapped with each other. 2) Given an interval [l,r] , return the expected sum of the… Read More »