摘要: 题目: Compare two version numbers version1 and version2.If version1 > version2 return 1, if version1 < version2 return -1, otherwise return 0. You may a 阅读全文
posted @ 2016-05-30 16:19 CodingGirl121 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2]. Note: Each el 阅读全文
posted @ 2016-05-30 15:16 CodingGirl121 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 题目: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each eleme 阅读全文
posted @ 2016-05-30 15:02 CodingGirl121 阅读(134) 评论(0) 推荐(0) 编辑