码迷,mamicode.com
首页 >  
搜索关键字:i need a offer    ( 7760个结果
剑指OFFER之字符串的排列
题目描述:输入一个字符串,按字典序打印出该字符串中字符的所有排列。例如输入字符串abc,则打印出由字符a,b,c所能排列出来的所有字符串abc,acb,bac,bca,cab和cba。输入:每个测试案例包括1行。输入一个字符串,长度不超过9(可能有字符重复),字符只包括大小写字母。输出:对应每组数据...
分类:其他好文   时间:2014-12-17 18:24:53    阅读次数:140
Spark 1.1.1 环境构建及部署
开发注意事项版本: spark 1.1.1 , hadoop 2.4.0, hbase 0.98.3Guide:官网说明或者 博客园内转载1.Spark 1.1.1 uses Scala 2.10. To write applications in Scala, you will need to u...
分类:其他好文   时间:2014-12-17 17:49:06    阅读次数:132
Bottom View of a Binary Tree
Given a Binary Tree, we need to print the bottom view from left to right. A node x is there in output if x is the bottommost node at its horizontal distance. Horizontal distance of left child of a nod...
分类:其他好文   时间:2014-12-17 16:31:12    阅读次数:225
Creating SSL keys, CSRs, self-signed certificates, and .pem files.
What is the whole darned process?Well that’s a good question. For my purposes, this is what I need to know:Create a Private Key. These usually end in ...
分类:其他好文   时间:2014-12-16 18:54:18    阅读次数:306
Linux主从同步监测和利用sendMail来发邮件
首先介绍下sendMailAbout SendEmailSendEmail is a lightweight,command lineSMTP email client. If you have the need to send email from a command line, this fre...
分类:系统相关   时间:2014-12-16 18:44:59    阅读次数:250
smartsvn学习(-)
3. Day-to-day use3.1 Everyday commandsMost of the common commands you will need are in the SmartSVN toolbar:UpdateCommitAddRemoveMoveRevertDeleteFixCh...
分类:其他好文   时间:2014-12-16 18:39:54    阅读次数:410
剑指OFFER之二叉树中和为某一值的路径
题目描述:输入一颗二叉树和一个整数,打印出二叉树中结点值的和为输入整数的所有路径。路径定义为从树的根结点开始往下一直到叶结点所经过的结点形成一条路径。输入:每个测试案例包括n+1行:第一行为2个整数n,k(1#include #include using namespace std; struct....
分类:其他好文   时间:2014-12-16 16:56:58    阅读次数:135
剑指OFFER之顺时针打印矩阵
题目描述:输入一个矩阵,按照从外向里以顺时针的顺序依次打印出每一个数字,例如,如果输入如下矩阵:1 2 3 45 6 7 89 10 11 1213 14 15 16则依次打印出数字1,2,3,4,8,12,16,15,14,13,9,5,6,7,11,10.输入:输入可能包含多个测试样例,对于每个...
分类:其他好文   时间:2014-12-14 19:58:12    阅读次数:201
火柴棍等式问题
火柴棍等式问题首先确定每个数字所用的火柴棍树木,用一层递归一层循环枚举一次,确定两个加数的值,算出和,进行进行判断,若符合条件则进行记录。 1 #include 2 int need[]={6,2,5,5,4,5,6,3,7,6}; 3 int ans=0;int h=0; 4 int n; 5 i...
分类:其他好文   时间:2014-12-14 13:07:15    阅读次数:173
在windows下用C语言写socket通讯实例
原文: 在windows下用C语言写socket通讯实例 From:Microsoft Dev Center#undef UNICODE#define WIN32_LEAN_AND_MEAN#include #include #include #include #include // Need to...
分类:编程语言   时间:2014-12-12 18:22:31    阅读次数:237
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!