摘要: 题目 Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the 阅读全文
posted @ 2020-03-29 18:55 下雨不刮风 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 题目 Given an array of integers and an integer k , find out whether there are two distinct indices i and j in the array such that and the absolute diffe 阅读全文
posted @ 2020-03-29 18:25 下雨不刮风 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 题目 Given two numbers and in base 2 , return the result of adding them together. Each number is given in array format: as an array of 0s and 1s, from m 阅读全文
posted @ 2020-03-29 18:14 下雨不刮风 阅读(186) 评论(0) 推荐(0) 编辑