How to solve this problem http://www.codechef.com/CDCRFT14/problems/SUBBXOR I solved this problem with O(n^2) but got TLE . Please explain the efficient algorithm used in this problem .
↧
How to solve this problem http://www.codechef.com/CDCRFT14/problems/SUBBXOR I solved this problem with O(n^2) but got TLE . Please explain the efficient algorithm used in this problem .