摘要: 这是一道我觉得有点不是很好的简单题 题目: Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array. Note: You may assume that nums1 has 阅读全文
posted @ 2017-09-19 17:09 唐僧洗发爱飘柔 阅读(140) 评论(0) 推荐(0)
摘要: 这道题为简单题 题目: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may ass 阅读全文
posted @ 2017-09-19 12:04 唐僧洗发爱飘柔 阅读(97) 评论(0) 推荐(0)