https://blockgeeks.com/guides/cryptocurrency-hacks/ The Mt.Gox Hack The year is 2013 and Max Karpeles is on the top of the world. His Japan-based comp ...
分类:
其他好文 时间:
2020-06-05 14:59:20
阅读次数:
555
题目描述: 给你一个字符串 s ,请你根据下面的算法重新构造字符串: 从 s 中选出 最小 的字符,将它 接在 结果字符串的后面。 从 s 剩余字符中选出 最小 的字符,且该字符比上一个添加的字符大,将它 接在 结果字符串后面。 重复步骤 2 ,直到你没法从 s 中选择字符。 从 s 中选出 最大 ...
分类:
其他好文 时间:
2020-06-05 13:32:47
阅读次数:
90
在工程项目中,可能有一些函数调用耗时很长,但是又需要反复多次调用,并且每次调用时,相同的参数得到的结果都是相同的。在这种情况下,我们可能会使用变量或者列表来存放,例如: resp_1 = get_resp(param=1) resp_2 = get_resp(param=2) resp_3 = ge ...
分类:
其他好文 时间:
2020-06-05 01:03:34
阅读次数:
90
题目描述 输入一个整数,输出该数二进制表示中1的个数。其中负数用补码表示。 题目链接: https://www.nowcoder.com/practice/8ee967e43c2c4ec193b040ea7fbb10b8?tpId=13&tqId=11164&rp=1&ru=/activity/oj ...
分类:
其他好文 时间:
2020-06-05 00:48:34
阅读次数:
66
class Solution { public int pivotIndex(int[] nums) { int sumLeft = 0; int sum = 0; for (int i = 0; i < nums.length; i++) { sum += nums[i]; } for (int ...
分类:
编程语言 时间:
2020-06-05 00:31:24
阅读次数:
64
package LeetCode_1365 import java.util.* /** * 1365. How Many Numbers Are Smaller Than the Current Number * https://leetcode.com/problems/how-many-num ...
分类:
其他好文 时间:
2020-06-04 19:56:56
阅读次数:
67
一:简单实现K-近邻算法 (一)导入数据 import numpy as np import matplotlib.pyplot as plt import pandas as pd def CreateDataSet(): data = np.array([[1.0,1.1],[1.0,1.0], ...
分类:
其他好文 时间:
2020-06-04 19:39:06
阅读次数:
65
Springboot 1.引入Freemarker jar包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-freemarker</artifactId> </depe ...
分类:
编程语言 时间:
2020-06-04 10:27:08
阅读次数:
56
ES5中的回调地狱了解吗?如a回调b,b回调c,c回调d……层层回调,就叫回调地狱 //异步,回调函数 //1 function loadScript(src,callback){ let script=document.createElement('script'); script.src=src ...
分类:
其他好文 时间:
2020-06-04 01:14:51
阅读次数:
57
图: 代码: <template> <view> <view> 纵向滚动 </view> <view class="v1"> <scroll-view scroll-y="true" class="v2" :scroll-top="scrollTop" @scroll="scroll" @scrol ...
分类:
其他好文 时间:
2020-06-04 01:03:28
阅读次数:
68