整理了一些Java方面的架构、面试资料(微服务、集群、分布式、中间件等),有需要的小伙伴可以关注公众号【程序员内点事】,无套路自行领取 更多优选 "一口气说出 9种 分布式ID生成方式,面试官有点懵了" "3万字总结,Mysql优化之精髓" "为了不复制粘贴,我被逼着学会了JAVA爬虫" "技术部突 ...
分类:
其他好文 时间:
2020-02-17 17:53:07
阅读次数:
59
Html: <input type="range" value="0" [style.--thumb-rotate]="720 * $any(input.value)/100 + 'deg'" #input (input)="0"> CSS: input[type="range"]::-webkit ...
分类:
Web程序 时间:
2020-02-17 17:37:48
阅读次数:
91
又到了算法时间,今天我们来学第二种算法 选择排序。这里有个表格,记录了乐队及其作品的播放次数,如下: 要将它们按播放次数从多到少排序,要怎么做呢?有一种方法是这样子的,遍历列表,找出播放次数最多的乐队,将这个乐队添加到一个新的列表中。 再次这样做,找出第二多的乐队。 循环上述做法,最终便可得到一个有 ...
分类:
编程语言 时间:
2020-02-16 23:30:40
阅读次数:
129
1 、tofixed方法 toFixed() 方法可把 Number 四舍五入为指定小数位数的数字。例如将数据Num保留2位小数,则表示为:toFixed(Num);但是其四舍五入的规则与数学中的规则不同,使用的是银行家舍入规则,银行家舍入:所谓银行家舍入法,其实质是一种四舍六入五取偶(又称四舍六入 ...
分类:
Web程序 时间:
2020-02-16 23:27:50
阅读次数:
135
LeetCode 0452. Minimum Number of Arrows to Burst Balloons用最少数量的箭引爆气球【Medium】【Python】【区间贪心】 Problem "LeetCode" There are a number of spherical balloons ...
分类:
编程语言 时间:
2020-02-16 20:35:52
阅读次数:
75
Colossal Fibonacci Numbers! 1. "链接" 2. 题意 输入两个非负整数a,b和正整数n(0 using namespace std; typedef unsigned long long ll; //此题会爆long long const int maxn = 1e6+ ...
分类:
其他好文 时间:
2020-02-16 14:30:00
阅读次数:
72
# 1到100的总和 print(sum(range(1,101))) # 输出:5050 # 一到一百的素数 for i in range(2,101): for j in range (2,i): if i%j == 0: break else: print(i,end=" ") # 输出:2 ...
分类:
编程语言 时间:
2020-02-16 12:54:47
阅读次数:
63
Given a set of candidate numbers (candidates) (without duplicates) and a target number (target), find all unique combinations in candidates where the ...
分类:
其他好文 时间:
2020-02-16 01:35:33
阅读次数:
58
package main import "fmt" //只出现一次的数字 //1.for循环每一个数字,和整个切片相比较 //2.如果都不相等,就添加到一个新的切片中 // 4, 1, 2, 1, 2 func singleNumber(splice []int) []int { var s []i ...
分类:
其他好文 时间:
2020-02-16 01:17:10
阅读次数:
95
从excel中读取数据 # -*- coding: utf-8 -*- # @Time : 2020/2/12 17:23 # @File : do_excel_openpyxl_14.py # @Author: Hero Liu from openpyxl import load_workbook ...
分类:
Web程序 时间:
2020-02-15 23:38:43
阅读次数:
149