摘要: Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. 标签 Hash Table Math 类似题目 (M) Line Reflection 标签 Has 阅读全文
posted @ 2017-03-25 15:48 Deribs4 阅读(158) 评论(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 nums[i] = nums[j] and the  阅读全文
posted @ 2017-03-25 13:36 Deribs4 阅读(119) 评论(0) 推荐(0)
摘要: 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 arr 阅读全文
posted @ 2017-03-25 13:13 Deribs4 阅读(141) 评论(0) 推荐(0)