自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

杨鑫newlife的专栏

算法就是我的灵魂

  • 博客(21)
  • 资源 (179)
  • 收藏
  • 关注

原创 数据仓库Build The Data Warehouse(William H.Inmon)学习笔记 --- 第三章、设计数据仓库

零、 建设企业数据仓库主要两个方面? 与操作型系统接口的设计 数据仓库本身的设计 建造数据仓库时发生了什么? 首先载入一部分数据,供DSS分析员使用和查看。然后根据最终用户的反馈,在数据仓库中修改、增添一些数据; 这种反馈循环贯穿于整个数据仓库的开发过程; 仅仅用过去曾用的设计方法就可以满足需求的想法是错误的。 部分需求是不可能预..

2020-06-30 22:21:29 679

原创 LeetCode --- 746. Min Cost Climbing Stairs 解题报告

On a staircase, thei-th step has some non-negative costcost[i]assigned (0 indexed).Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reach the top of the floor, and you can either start from the step with i...

2020-06-29 15:19:34 273

原创 LeetCode --- 744. Find Smallest Letter Greater Than Target 解题报告

Given a list of sorted charactersletterscontaining only lowercase letters, and given a target lettertarget, find the smallest element in the list that is larger than the given target.Letters also wrap around. For example, if the target istarget = 'z'...

2020-06-28 16:34:17 240

原创 误删了Crontab调度信息怎么办?如何找回调度时间?

最近最近的某天发现Crontab日常的调度信息不见了。那么这种很棘手并没有没有备份的情况下怎么办呢?解决办法: 1.找到调度的脚本; 2.找到调度的日期/频率; 1.我们先去找到crontab的默认日志路径(Centos6/7中,其余版本百度查找):/var/log 。我们找到如上图类似 cron- 开头的文件,会根据周或者其余频率定期的保留近期的日志快照。我们切换到文件的读写权限对应用户,然后查看vim/cat均可。然后找到对应的命令调度脚...

2020-06-28 16:23:47 411

原创 LeetCode --- 733. Flood Fill 解题报告

Animageis represented by a 2-D array of integers, each integer representing the pixel value of the image (from 0 to 65535).Given a coordinate(sr, sc)representing the starting pixel (row and column) of the flood fill, and a pixel valuenewColor, "floo...

2020-06-24 00:48:37 283

原创 LeetCode --- 728. Self Dividing Numbers 解题思路

Aself-dividing numberis a number that is divisible by every digit it contains.For example, 128 is a self-dividing number because128 % 1 == 0,128 % 2 == 0, and128 % 8 == 0.Also, a self-dividing number is not allowed to contain the digit zero.Give...

2020-06-22 23:42:34 245

原创 LeetCode --- 724. Find Pivot Index 解题报告

Given an array of integersnums, write a method that returns the "pivot" index of this array.We define the pivot index as the index where the sum of all the numbers to the left of the index is equal to the sum of all the numbers to the right of the index.

2020-06-20 21:09:58 279

原创 LeetCode --- 720. Longest Word in Dictionary 解题报告

Given a list of stringswordsrepresenting an English Dictionary, find the longest word inwordsthat can be built one character at a time by other words inwords. If there is more than one possible answer, return the longest word with the smallest lexicog...

2020-06-20 00:34:05 250

原创 Python 实现不使用语言自带的函数计算两个日期的差值

题目:写一个函数,输入是两个日期,输出是这两个日期的日差。例如:输入是20190102和20190103,输出是1要求:1、不能使用系统自带函数直接减2、不能使用时间戳3、日期格式是字符串类似2019-01-02格式,只考虑四位字符年份所有代码均可在Github中找到:下载链接# -*- coding:utf-8 -*-__author__ = 'yangxin_ryan'"""Solutions:题目:写一个函数,输入是两个日期,输出是这两个日期的日差。例如:输入

2020-06-17 17:23:32 645

原创 数据仓库Build The Data Warehouse(William H.Inmon)学习笔记 --- 第二章、数据仓库环境

一、数据仓库是体系结构设计环境的核心,是决策系统DSS处理的基础; 数据仓库是一个面向主题的、集成的、非易失的且随时间变化的数据集合,用来支持员工的决策; 如下是一个数据面向应用(操作型环境)和面向主题(数据仓库)的例子 操作型环境 数据仓库 汽车 顾客 人寿 保险单 健康 保险费 ..

2020-06-14 00:36:20 665

原创 LeetCode --- 717. 1-bit and 2-bit Characters 解题报告

We have two special characters. The first character can be represented by one bit0. The second character can be represented by two bits (10or11).Now given a string represented by several bits. Return whether the last character must be a one-bit charac...

2020-06-13 20:46:25 281 1

原创 LeetCode --- 709. To Lower Case 解题报告

Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.Example 1:Input: "Hello"Output: "hello"Example 2:Input: "here"Output: "here"Example 3:Input: "LOVELY"Output: "lovely"所有代码均可在.

2020-06-12 09:15:06 237

原创 LeetCode --- 706. Design HashMap 解题报告

Design a HashMapwithout using any built-in hash table libraries.To be specific, your design should include these functions:put(key, value):Insert a (key, value) pair into the HashMap. If the value already exists in the HashMap, update the value. ge...

2020-06-11 00:40:49 253

原创 LeetCode --- 705. Design HashSet 解题报告

Design a HashSetwithout using any built-in hash table libraries.To be specific, your design should include these functions:add(value):Insert a value into the HashSet. contains(value): Return whether the value exists in the HashSet or not. remove(...

2020-06-10 01:15:07 290

原创 LeetCode --- 704. Binary Search 解题报告

Given asorted(in ascending order) integer arraynumsofnelements and atargetvalue, write a function to searchtargetinnums. Iftargetexists, then return its index, otherwise return-1.Example 1:Input: nums = [-1,0,3,5,9,12], target = 9Output...

2020-06-08 09:36:50 234

原创 LeetCode --- 703. Kth Largest Element in a Stream 解题报告

Design a class to findthekth largest element in a stream. Note that it is the kth largest element in the sorted order, not the kth distinct element.YourKthLargestclass will have a constructor which accepts an integerkand an integer arraynums, whic...

2020-06-06 13:21:12 265

原创 Sqoop导出Mysql报错主键冲突

2020-06-03 22:28:07,801 ERROR [Thread-12] org.apache.sqoop.mapreduce.AsyncSqlOutputFormat: Got exception in update thread: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '1109883-2020-05-31 00:00:00' for key...

2020-06-04 12:54:02 1003 2

原创 LeetCode --- 700. Search in a Binary Search Tree 解题报告

Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node's value equals the given value. Return the subtree rooted with that node. If such node doesn't exist, you should return NULL.For example,.

2020-06-04 09:13:41 241

原创 LeetCode --- 697. Degree of an Array 解题报告

Given a non-empty array of non-negative integersnums, thedegreeof this array is defined as the maximum frequency of any one of its elements.Your task is to find the smallest possible length of a (contiguous) subarray ofnums, that has the same degree ...

2020-06-02 14:27:03 254

原创 LeetCode --- 696. Count Binary Substrings 解题报告

Give a strings, count the number of non-empty (contiguous) substrings that have the same number of 0's and 1's, and all the 0's and all the 1's in these substrings are grouped consecutively.Substrings that occur multiple times are counted the number of .

2020-06-01 23:48:07 235

原创 Flume能否代替Canal实时同步Mysql的Binlog数据?

零、不废话先说结论 1.Flume不能代替Canal实时同步Mysql的Binlog数据(内部机制不支持); 2.Flume可以实现实时同步Mysql的数据(插件的方式); 下面是具体的结论理由推断; 一、Canal在同步Mysql的Binary log的作用 功能上看 1.master将改变记录到二进制日志(binary log)中(这些记录叫做二进制日志事件,binary log events, ..

2020-06-01 00:03:19 3694

斯坦福文本分类朴素贝叶斯实现课程讲义2021

斯坦福文本分类朴素贝叶斯算法实现课程讲义2021

2022-06-19

An Introduction to HTAP

An Introduction to HTAP

2022-04-26

datax.tar.gz

阿里开源ETL工具DataX

2021-08-22

ImpalaJDBC41.jar

ImpalaJDBC

2021-08-22

hive_jdbc_2.6.2.1002.zip

hive_jdbc_2.6.2.1002

2021-08-22

ClouderaHiveODBC.dmg

ClouderaHiveODBC

2021-08-22

JVM内存管理知识思维导图.png

JVM内存管理知识思维导图.png

2020-05-22

深入浅出Otter与Canal.pdf

深入浅出Otter与Canal.pdf深入浅出Otter与Canal.pdf深入浅出Otter与Canal.pdf深入浅出Otter与Canal.pdf

2020-02-29

weworkapi_python-master.zip

企业微信加密解密函数代码示例weworkapi_python-master.zipweworkapi_python-master.zipweworkapi_python-master.zipweworkapi_python-master.zip

2020-01-20

实时指标计算引擎-Spark-Part_1_杨鑫_2019-12-19.pptx

实时指标计算引擎-Spark-Part_1_杨鑫

2019-12-19

Griffin数据质量管理技术调研.pdf

Griffin数据质量管理技术调研.pdf

2019-12-09

Kylin多维分析.pdf

Kylin多维分析.pdf

2019-12-05

CDH5.17版本Hue接入HBase步骤.pdf

CDH5.17版本Hue接入HBase步骤.pdfC

2019-11-28

Apache Kylin竞品分析.pdf

Apache Kylin竞品分析.pdf

2019-11-18

_bz2.cpython-36m-x86_64-linux-gnu.so

_bz2.cpython-36m-x86_64-linux-gnu.so,

2019-11-07

presto-cli-0.223-executable.jar

presto-cli-0.223-executable.jar

2019-11-07

数据仓库规范设计.pdf

数据仓库规范设计.pdf

2019-11-04

基础算法-LP算法_线性规划问题.pptx

基础算法-LP算法_线性规划问题.pptx,基础算法-LP算法_线性规划问题.pptx,基础算法-LP算法_线性规划问题.pptx,基础算法-LP算法_线性规划问题.pptx

2019-10-17

基础算法-递归-杨鑫20191010.pptx

基础算法-递归-杨鑫20191010.pptx,基础算法-递归-杨鑫20191010.pptx,基础算法-递归-杨鑫20191010.pptx

2019-10-17

基础算法 - 动态规划-2019-08-01.pptx

基础算法 - 动态规划-2019-08-01.pptx,基础算法 - 动态规划-2019-08-01.pptx,基础算法 - 动态规划-2019-08-01.pptx,基础算法 - 动态规划-2019-08-01.pptx

2019-10-17

KNN实现水果分类的数据集

KNN实现水果分类的数据集KNN实现水果分类的数据集,KNN实现水果分类的数据集,KNN实现水果分类的数据集

2019-10-17

机器学习算法-神经网络LSTM

机器学习算法-神经网络.pptx

2019-09-21

ML-朴素贝叶斯-2019-07-01.pdf

ML-朴素贝叶斯-2019-07-01.pdf

2019-07-02

udfs-2.0.4-SNAPSHOT.jar

Presto的UDF函数,基本可以覆盖Hive的大多数情况。

2019-06-26

Python3实现KNN的三个例子(包含数据集),水果分类,识别手写数字,找相似的朋友

Python3实现KNN的三个例子(包含数据集),水果分类,识别手写数字,找相似的朋友

2019-03-06

Presto资源管理Rest API 文档

Presto资源管理Rest API 文档

2018-12-01

ACM学习路线导图

ACM学习路线导图

2018-11-14

Hadoop ResourceManager API

Hadoop ResourceManager API

2018-11-07

Kylin调研报告

Kylin (MOLAP - Multidimensional OnlineAnalytical Processing)调研报告

2018-10-29

ALL in python学习PPT

ALL in python学习PPT

2018-10-28

presto-cli

presto-cli,presto-cli,

2018-10-22

python pep8编码规范

python pep8编码规范

2018-10-17

Confluence-5.6.6-language-pack-zh_CN.jar

Confluence-5.6.6-language-pack-zh_CN.jar,防止confluence乱码的jar包

2018-09-30

AzkabanAPI接口文档汇总

AzkabanAPI接口文档汇总

2018-09-26

MachineLearning-相似度距离公式

MachineLearning-相似度距离公式

2018-09-21

Azkaban元数据库分析

Azkaban元数据库分析,

2018-09-19

Goods: Organizing Google’s Datasets

Goods: Organizing Google’s Datasets,Goods: Organizing Google’s Datasets

2018-09-06

Kudu- Storage for Fast Analytics on Fast Data

Kudu- Storage for Fast Analytics on Fast Data,Kudu- Storage for Fast Analytics on Fast Data

2017-12-21

mongodb-linux-x86_64-3.4.6

mongodb-linux-x86_64-3.4.6,很好用的客户端,请下载使用。

2017-10-17

mongo-hadoop-core-2.0.0

mongo-hadoop-core-2.0.0.jar x x s s sa a a s dd . d d

2017-10-12

空空如也

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

TA关注的人

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