摘要: The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a produc 阅读全文
posted @ 2021-11-28 23:02 勇往直前的力量 阅读(45) 评论(0) 推荐(0)
摘要: Given any permutation of the numbers {0, 1, 2,..., N-1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation tha 阅读全文
posted @ 2021-11-28 17:34 勇往直前的力量 阅读(61) 评论(0) 推荐(0)