自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 STL-priority_queue

参考http://www.cplusplus.com/reference/queue/priority_queue/priority_queue/347. Top K Frequent Elementsmost votes:class Solution {public: vector<int> topKFrequent(vector<int>& nums, int k) {

2016-05-30 16:25:25 421

原创 Algorithm_DP

1. 矩阵DP(坐标)triangle unique path sum 二维DPjump game 一维 climbing stairs 一维DP2. 分割DP如果限制了切割的字符串的个数(为k),那么就是二维; f[i][j] = 前i个字符,切成j个单词,是否可行如果没有限制 f[i] 表示前i个字符,能否完美切割3. 区间DP4. 两个序列的DP

2016-05-27 09:25:40 516

原创 Algorithm_Linked List

Sort List Problem For God’s sake, don’t try sorting a linked list during the interview So it might be better to actually copy the values into an array and sort them there.Tip: Since a node may

2016-05-25 19:16:09 378

原创 Apache Oozie - the workflow scheduler for hadoop

One of Oozie’s strengths is that it was custom built from the ground up for Hadoop. This not only means that Oozie works well on Hadoop, but that the authors of Oozie had an opportunity to build a new

2016-05-19 19:59:05 1380

原创 php面试总结

1. php中include和require的区别都是包括并运行指定文件include()【运行时解析】在实行文件每次都要进行读取和评估,include()出错时可以继续运行。require()【运行前解析】文件只处理一次,文件内容替换require语句部分,require()部分出错主程序会停止。增加_once()之后表示已经加载的文件将不会被再次加载。2. curl与file_get_conte

2016-05-17 12:25:43 481

原创 websites-pages-jekyll - github blog

安装jekyll 参考https://jekyllrb.com/docs/installation/ 需要:nodejs,ruby(2.0以上),rubygems,python等//环境$sudo apt-get install nodejs//安装ruby 2.0$sudo apt-add-repository ppa:brightbox/ruby-ng-experimental &&$

2016-05-15 16:36:51 330

原创 hive

参考文章http://www.tuicool.com/articles/bmUjAjj 1. 安装环境:jdk,hadoop,mysql 在mysql中创建hive数据库>use mysql;>insert into user(Host,User,Password) values("localhost","hive",password("hive"));>FLUSH PRIVILEGES;

2016-05-10 10:04:55 348

原创 Hue-安装-配置-添加Oozie

安装步骤参考 http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/ 配置步骤参考 http://shiyanjun.cn/archives/1002.html修改配置文件$vi hue/desktop/conf/pseudo-distributed.ini 启动hue服务#build/env/bin/supervisor &e

2016-05-09 21:43:36 5040

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除