B. Uniqueness time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given an array a1,a2,…,ana1,a2,…,an. You can remove at most one subsegment from it. The remaining elements should be p…