摘要: Spark 学习笔记 (一): 初探Spark 程序设计之RDD 本文主要介绍Spark基本数据结构RDD的原理和使用,以及搭建了基于Docker的Spark集群开发测试环境,最后给出了几个实际程序例子,算是Saprk入了门:) 一、 RDD RDD是Spark中最核心的概念 1.初识RDD Re 阅读全文
posted @ 2019-01-16 21:56 shawshawwan 阅读(701) 评论(0) 推荐(1) 编辑
摘要: 今天算法群里出的一道题,题目不难,但是这道题有多种解法,而且注意分析每种解法的时间复杂度,不能超时 题目: We have jobs: difficulty[i] is the difficulty of the ith job, and profit[i] is the profit of the 阅读全文
posted @ 2019-01-16 11:07 shawshawwan 阅读(329) 评论(0) 推荐(0) 编辑