Reby


  • 首页

  • 分类

  • 关于

  • 归档

  • 标签

练习题2

发表于 2016-08-16   |   分类于 算法   |  
二进制中1的个数题目描述 输入一个整数,输出该数二进ԣ ...
阅读全文 »

练习题

发表于 2016-08-16   |   分类于 算法   |  
替换空格题目描述 请实现一个函数,将一个字符串中的空 ...
阅读全文 »

单例模式

发表于 2016-08-16   |   分类于 设计模式   |  
单例模式的意图:保证一个类仅有一个实例,并提供一个 ...
阅读全文 »

拷贝构造函数

发表于 2016-08-16   |   分类于 C++基础   |  
拷贝构造函数不能采用值传递12345678910111213141516#include<iostream>using namespace std;class S{ int a; public: S( ...
阅读全文 »

未命名

发表于 2016-08-09   |  
阅读全文 »

华为机试热身之夫妻相

发表于 2016-08-07   |   分类于 校招   |  
描述在中国,形容夫妻恩爱的词汇中,大家用的比较多的 ...
阅读全文 »

华为机试热身(一)

发表于 2016-07-30   |   分类于 校招   |  
考试须知考察内容大致为:数组、链表、指针、字符串、 ...
阅读全文 »

链表的快排

发表于 2016-07-22   |   分类于 Algorithm   |  
我们一般都是对数组进行快速排序,如何对链表进行快排 ...
阅读全文 »

Maximum Subarray

发表于 2016-07-20   |   分类于 leetcode   |  
Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [−2,1,−3,4,−1,2,1,−5,4],the contiguous ...
阅读全文 »

minimum-depth-of-binary-tree

发表于 2016-07-19   |   分类于 leetcode   |  
Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node. 此时,树的& ...
阅读全文 »
123…7
Rui

Rui

Never stand still

62 日志
10 分类
48 标签
© 2016 Rui
由 Hexo 强力驱动
主题 - NexT.Mist