自定义博客皮肤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的专栏

算法就是我的灵魂

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

零、 建设企业数据仓库主要两个方面? 与操作型系统接口的设计 数据仓库本身的设计 建造数据仓库时发生了什么? 首先载入一部分数据,供DSS分析员使用和查看。然后根据最终用户的反馈,在数据仓...

2020-06-30 22:21:29 157 0

原创 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. Yo...

2020-06-29 15:19:34 96 0

原创 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 tha...

2020-06-28 16:34:17 89 0

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

最近最近的某天发现Crontab日常的调度信息不见了。 那么这种很棘手并没有没有备份的情况下怎么办呢? 解决办法: 1.找到调度的脚本; 2.找到调度的日期/频率; 1.我们先去找到crontab的默认日志路径(Centos6/7中,其余版本百度查找):/var/l...

2020-06-28 16:23:47 95 0

原创 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, s...

2020-06-24 00:48:37 93 0

原创 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 % ...

2020-06-22 23:42:34 75 0

原创 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 ...

2020-06-20 21:09:58 107 0

原创 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...

2020-06-20 00:34:05 91 0

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

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

2020-06-17 17:23:32 224 0

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

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

2020-06-14 00:36:20 193 0

原创 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). No...

2020-06-13 20:46:25 118 0

原创 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" ...

2020-06-12 09:15:06 89 0

原创 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...

2020-06-11 00:40:49 94 0

原创 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 va...

2020-06-10 01:15:07 114 0

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

Given asorted(in ascending order) integer arraynumsofnelements and atargetvalue, write a function to searchtargetinnums. Iftargetexists, then return ...

2020-06-08 09:36:50 79 0

原创 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. ...

2020-06-06 13:21:12 69 0

原创 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....

2020-06-04 12:54:02 331 0

原创 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...

2020-06-04 09:13:41 85 0

原创 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 ta...

2020-06-02 14:27:03 99 0

原创 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 al...

2020-06-01 23:48:07 78 0

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

零、不废话先说结论 1.Flume不能代替Canal实时同步Mysql的Binlog数据(内部机制不支持); 2.Flume可以实现实时同步Mysql的数据(插件的方式); 下面是具体的结论理由推断; 一、Canal在同步Mysql的...

2020-06-01 00:03:19 1055 0

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