[Solved] Remove One Element codechef solution

Remove One Element codechef solution Alice has an array AA consisting of NN distinct integers. Bob takes exactly N−1N−1 elements from this array and adds a positive integer XX (i.e. X>0X>0) to each of these numbers and then shuffles them to form a new array BB of length N−1N−1. You are given both arrays AA and BB. You have to identify the value of XX chosen by Bob. If there are multiple possible …

[Solved] Remove One Element codechef solution Read More »