自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 168-excle sheet columen title-字符串转换-26进制数

【题目】Given a positive integer, return its corresponding column title as appear in an Excel sheet.For example: 1 -> A 2 -> B 3 -> C ... 26 -> Z 27 -> AA 28 -> AB

2015-05-15 09:22:39 348

原创 171-Excel Sheet Column Number-字符串进制转换

【题目】Related to question Excel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A -> 1 B -> 2 C -> 3

2015-05-12 22:09:49 277

原创 13-Integer to Roman-字符串相关-HashMap

【题目】Given an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.【解析】和上一题对偶,同样考查HashMap的使用我的思路是先给HashMap赋值,然后获取int字符类型每一位的值,换算成可以查找HashMap对应值

2015-05-07 09:57:26 286

原创 12-Roman to Integer-字符串相关-HashMap

【题目】Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.【解析】求罗马数字转换到int类型,考查的是HashMap或者二维数组的应用,以及string类型字符串的了解。罗马数字只用于表示而不计算,4000

2015-05-07 09:52:12 296

原创 191-number of 1 bits-字符串相关

【题目】Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight).For example, the 32-bit integer ’11' has binary representation 

2015-05-07 09:46:09 260

原创 100-same tree-树相关

【题目】Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same value.【解

2015-05-07 09:44:44 287

原创 hadoop安装前后的防火墙相关

linux环境下防火墙的开启和关闭: 测试:chkconfig 发现没有开启iptables的服务ubuntu中用ufw status可以查看是否开启了防火墙开启:ufw enable;关闭:ufw disable‘’尝试在namenode1中clouderamanager上下载spark等没有问题为实验安装后打开防火墙的影响,在中进行如下操

2014-12-15 10:52:19 756

原创 前端入门第一课 概念和基础路线整理

前端1.jsp和js不是一个东西,js是javascript,和Java没有太大关系。jsp

2014-10-18 16:16:04 412

原创 linux ubuntu中打开ntp,及遇到的could not get lock /var/lib/dpkg/lock问题

在安装cloudera manager建立集群的时候,遇到一个问题:

2014-09-21 15:20:19 469

原创 first:安装linux虚拟机和遇到的一些简单指令

跟随实验室安装的是Ubuntu12.4版本的linux虚拟机,安装过程非常简单,主

2014-09-14 15:49:20 387

转载 first:what hadoop集群和网络

云计算和Hadoop中网络是讨论得相对比较少的领域。本文原文由Dell企业技术专家Brad Hedlund撰写,他曾在思科工作多年,专长是数据中心、云网络等。文章素材基于作者自己的研究、实验和Cloudera的培训资料。本文将着重于讨论Hadoop集群的体系结构和方法,及它如何与网络和服务器基础设施的关系。最开始我们先学习一下Hadoop集群运作的基础原理。Hadoop里的

2014-09-14 15:47:21 290

空空如也

空空如也

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

TA关注的人

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