最新 最热

19 Flipping an Image

Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image.

2021-08-18
1

15 Find N Unique Integers Sum up to Zero

Given an integer n, return any array containing n unique integers such that they add up to 0.

2021-08-18
1

07 Maximum 69 Number

Given a positive integer num consisting only of digits 6 and 9.

2021-08-18
1

05 Subtract the Product and Sum of Digits of an Integer

Given an integer number n, return the difference between the product of its digits and the sum of its digits.

2021-08-18
1

JS原生onmouseenter onmouseleave 悬浮事件 一直闪动 问题解决

本来以为是 事件冒泡的原因,但是阻止了事件的冒泡还是一直闪动,后来发现其实是应为i标签和input标签的层级原因应为是平级所以鼠标悬浮到i上会认为是离开了...

2021-08-13
0

20行实现Vue双向数据绑定

Vue.js中最让引人入胜的功能之一就是: 数据的双向绑定,下面使用原生JavaScript, 只须区区20行代码即可实现:

2021-08-12
1

LeetCode 0162 - Find Peak Element

A peak element is an element that is greater than its neighbors.

2021-08-11
1

HDU 4857 - 逃生

现在有n个人,从1标号到n。同时有一些奇怪的约束条件,每个都形如:a必须在b之前。同时,社会是不平等的,这些人有的穷有的富。1号最富,2号第二富,以此类推。有钱人就贿赂负责人,所以他们有一些好处。...

2021-08-11
1

HDU 2222 - Keywords Search

In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.Wiskey also wants to bring this feature to his image retrieval system...

2021-08-11
1

LeetCode 0273 - Integer to English Words

Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 2^31 - 1.

2021-08-11
1