自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

筱维の码场

王筱维童鞋努力coding!

  • 博客(4)
  • 收藏
  • 关注

原创 Spark面试题整理(1)

Spark1. Spark VS MapReducespark是借鉴了Mapreduce,并在其基础上发展起来的,继承了其分布式计算的优点并进行了改进,spark生态更为丰富,功能更为强大,性能更加适用范围广,mapreduce更简单,稳定性好​对性能的要求也相对较弱,适合长期后台运行。1. Spark基于内存计算,MR基于磁盘计算+容错性对比 2. Spark 多线程模型,MR多进程模型3. Spark比MR更灵活丰富(1) Spark内存计算VS MapReduce读写磁盘MapReduce:MapRe

2022-06-05 01:12:45 530

原创 剑指offer25 -- LeetCode #112 Path Sum

public class test25 { public boolean hasPathSum(TreeNode root, int sum) { if(root == null) return false; if(root.left == null && root.right == null && ...

2019-04-19 00:51:15 128

原创 剑指offer20,顺时针打印矩阵 -- LeetCode #54 spiralOrder

public class test20{ public List<Integer> spiralOrder(int[][] matrix) { List answer = new ArrayList(); if(matrix.length == 0) return answer; int rows = m...

2019-04-19 00:49:28 152

原创 剑指offer19,二叉树的镜像 -- LeetCode #226

public class test19{ public TreeNode invertTree(TreeNode root) { if(root == null) return root; if(root.left == null && root.right == null) return root; TreeNode temp = root.le...

2019-04-19 00:46:59 261

空空如也

空空如也

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

TA关注的人

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