![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Easylove-xjl
这个作者很懒,什么都没留下…
展开
-
Contains Duplicate && Contains Duplicate II
contains duplicates原创 2015-10-21 21:05:25 · 238 阅读 · 0 评论 -
Merge Sorted Array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.原创 2015-10-28 22:26:21 · 282 阅读 · 0 评论 -
Pascal's Triangle && Pascal's Triangle II
Given numRows, generate the first numRows of Pascal’s triangle.原创 2015-10-28 21:01:59 · 361 阅读 · 0 评论 -
Move Zeros
Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements.原创 2015-10-28 21:31:36 · 375 阅读 · 0 评论 -
Majority Element
Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.原创 2015-10-29 16:23:33 · 306 阅读 · 0 评论 -
Word Pattern
Given a pattern and a string str, find if str follows the same pattern.原创 2015-11-17 19:52:38 · 457 阅读 · 0 评论 -
二进制整数的倒序
二进制倒序原创 2016-03-10 22:11:31 · 2842 阅读 · 0 评论