2019年8月21日
摘要: 一个数组中有一个重复的数字,空间复杂度O(1),时间复杂度O(n)找出那个重复的数字。public class QuChong { public static void main(String[] args) { int n = 4; int[] arr = {1, 2, 3, 2}; int x 阅读全文
posted @ 2019-08-21 20:33 zhaofeng555 阅读(160) 评论(0) 推荐(0) 编辑