git pull = git fetch + git merge。 设置忽略的内容 针对一个仓库的可以在仓库目录直接建立.gitignore文件。 如果是全局,通过命令指定全局配置文件 git config --global core.excludesfile=<fileName> 文件内容...
分类:
其他好文 时间:
2014-10-07 02:37:43
阅读次数:
322
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:
其他好文 时间:
2014-10-06 20:00:30
阅读次数:
181
题目:Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the ...
分类:
其他好文 时间:
2014-10-06 18:31:30
阅读次数:
145
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18].合并重复区间先让区间按sta...
分类:
其他好文 时间:
2014-10-06 17:39:50
阅读次数:
106
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:
其他好文 时间:
2014-10-06 13:11:00
阅读次数:
167
Given a collection of intervals, merge all overlapping intervals.For example,Given [1,3],[2,6],[8,10],[15,18],return [1,6],[8,10],[15,18].这道题跟Insert I...
分类:
其他好文 时间:
2014-10-06 07:51:29
阅读次数:
206
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-10-05 23:28:39
阅读次数:
357
class Solution {
public:
int removeDuplicates(int A[], int n) {
int duplicate = 0;
int i = 0;
for(i = 0; i < n - 1; i++){
if(A[i] == A[i + 1]){
dupli...
分类:
其他好文 时间:
2014-10-05 22:23:09
阅读次数:
183
给定一个排好序的链表,删除所有重复的节点,使每一个节点都只出现一次...
分类:
其他好文 时间:
2014-10-05 21:17:09
阅读次数:
212