摘要: 问题: 重新排序给定数组,使得下标index和数值A[index]的奇偶性一致。 Example 1: Input: [4,2,5,7] Output: [4,5,2,7] Explanation: [4,7,2,5], [2,5,4,7], [2,7,4,5] would also have be 阅读全文
posted @ 2020-05-25 15:49 habibah_chang 阅读(112) 评论(0) 推荐(0) 编辑