134. Gas Station There are N gas stations along a circular route, where the amount of gas at station iis gas[i]. You have a car with an unlimited gas ...
分类:
Web程序 时间:
2019-05-29 23:43:11
阅读次数:
160
There are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank and it costs ...
分类:
其他好文 时间:
2019-05-26 12:48:18
阅读次数:
99
business from English bisynes Etymology From Middle English bisynes Hyphenation: business Noun business (countable and uncountable) 1.(countable) A sp ...
分类:
其他好文 时间:
2019-05-26 11:17:53
阅读次数:
101
一、MarkDown是什么? Markdown是一种轻量级的「标记语言」,创始人为约翰·格鲁伯,用简洁的语法代替排版,目前被越来越多的知识工作者、写作爱好者、程序员或研究员广泛使用。其常用的标记符号不超过十个,相对于更为复杂的 HTML 标记语言来说,Markdown 十分的轻量,学习成本也不需要太 ...
分类:
其他好文 时间:
2019-05-22 16:01:03
阅读次数:
164
You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you nee ...
分类:
其他好文 时间:
2019-05-21 13:09:05
阅读次数:
122
题目 给定不同面额的硬币 coins 和一个总金额 amount。编写一个函数来计算可以凑成总金额所需的最少的硬币个数。如果没有任何一种硬币组合能组成总金额,返回 -1。 示例 1: 输入: coins = [1, 2, 5], amount = 11 输出: 3 解释: 11 = 5 + 5 + ...
分类:
其他好文 时间:
2019-05-13 14:45:02
阅读次数:
111
一般现在的实时框架两种: ①数据(日志log、DB) >SparkStreaming(计算) >Mysql / Redis (得到计算结果,一般数据量比较小,直接给前台即可); DB-->Canal >ES(es中没有join操作) 如果前台想根据数据进行分析,再进行统计,就不能拿结果进行分析,要拿 ...
分类:
其他好文 时间:
2019-05-12 15:49:09
阅读次数:
143
1.引言 最近也学习了好几个月的机器学习,感觉知识也只停留在理论方面,但是大佬也说过实战很重要!!所以自己看了几篇Kaggle的文章。刚好前几天加入了一个打卡群,这是第一次发布的数据挖掘任务,在这里记录一下。 任务1 - 数据分析(2天),任务1打卡链接提交截止日期为20190512晚上10点数据集 ...
分类:
其他好文 时间:
2019-05-12 13:38:44
阅读次数:
136
List userList=new ArrayList(); userList.add(User.builder().age(10).name("zhang").amount(BigDecimal.valueOf(10)).build()); userList.add(User.builder().... ...
效果如下: 当type值选择完后,amount值会自动相应填入。 1. 从后台获取数据,为一个数组,里面包含多个对象。 采用了自身连接,将type与amount对应起来,形成对象,一个数组,发送到前端。 返回值:[{"id":1,"type":"学院级","amount":2000},{"id":2 ...
分类:
其他好文 时间:
2019-04-10 16:39:29
阅读次数:
216