自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 hadoop搭建问题

Hadoop平台搭建过程及问题解决使用VM:文件:注:hadoop不能下载-src版本的:得编译,不能直接用,非-src的改配置文件就可以直接用。 CentOS自带的JDK不能用,得下载oracle的。下载链接:http://ftp.agdsn.de/pub/mirrors/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-DVD-1810.is...

2019-05-25 20:49:51 363

原创 204. Count Primes Python代码

Count the number of prime numbers less than a non-negative number, n.Example:Input: 10Output: 4Explanation: There are 4 prime numbers less than 10, they are 2, 3, 5, 7.算法的思想就是以此通过:22,33,44,55…ii;...

2019-05-21 11:17:14 363

原创 859. Buddy Strings Python代码

Given two strings A and B of lowercase letters, return true if and only if we can swap two letters in A so that the result equals B.Example 1:Input: A = “ab”, B = “ba”Output: trueExample 2:Input:...

2019-05-17 18:35:34 274

原创 559. Maximum Depth of N-ary Tree Python代码

Given a n-ary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.For example, given a 3-ary tree:We shou...

2019-05-16 20:38:12 568

原创 665. Non-decreasing Array Python代码

Non-decreasing ArrayGiven an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element.We define an array is non-decreasing if array[i] <= ar...

2019-05-16 16:59:47 263

空空如也

空空如也

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

TA关注的人

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