如果长度为 n 的序列仅包含从 1 到 n 的所有整数一次,则该序列称为排列。
你能判断一个数组是否是 O(log N) 的排列吗?
c++ permutation
c++ ×1
permutation ×1