You can create a release to package software, along with release notes and links to binary files, for other people to use. Learn more about releases in our docs.
You are given an array a1,a2,…,an of pairwise distinct integers from 0 to n. Consider the following operation: consecutively for each i from 1 to n in this order, replace a[i] with MEX(a1,a2,…,an).