Home 打开Chrome 开发者工具 了解面板 设备模式 注释:移动端开发工具 元素面板 使用元素面板可以自由的操作DOM和CSS来迭代布局和设计页面 注释:Elements标签页 控制台面板 在开发期间,可以使用控制台面板记录诊断信息,或者使用它作为 shell(壳) 在页面上与JavaScri ...
分类:
其他好文 时间:
2020-03-10 12:03:58
阅读次数:
46
[LeetCode]632. Smallest Range Covering Elements from K Lists 你有 k 个升序排列的整数数组。找到一个最小区间,使得 k 个列表中的每个列表至少有一个数包含在其中。 我们定义如果 b-a < d-c 或者在 b-a == d-c 时 a < ...
分类:
其他好文 时间:
2020-03-06 23:40:33
阅读次数:
69
javascript :选取元素,操作元素,操作CSS,事件侦听和处理 var element = document.getElementById("id"); var elements = document.getElementByClassName("classname"); var eleme ...
分类:
编程语言 时间:
2020-03-05 15:01:48
阅读次数:
75
Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5→6, ...
分类:
其他好文 时间:
2020-03-05 13:49:20
阅读次数:
86
Find all pairs of elements in a given array that sum to the given target number. Return all the pairs of indices. Assumptions The given array is not n ...
分类:
其他好文 时间:
2020-03-04 09:14:57
阅读次数:
71
《Concurrent包中的锁机制》http://www.iteye.com/topic/333669《java.util.concurrent 之ConcurrentHashMap 源码分析》http://www.iteye.com/topic/977348《ConcurrentHashMap之实... ...
分类:
其他好文 时间:
2020-03-03 14:54:42
阅读次数:
58
Array LeetCode Given an integer array of size n, find all elements that appear more than ? n/3 ? times. The algorithm should run in linear time and i.... ...
分类:
其他好文 时间:
2020-03-01 14:18:51
阅读次数:
71
译自:https://ruslanspivak.com/lsbasi part2/ (已获作者授权) 在他们的著作《有效思维的五个要素》(The 5 Elements of Effective Thinking)中,Burger和Starbird分享了一个故事,讲述了他们如何观察国际知名的小号演奏家 ...
分类:
其他好文 时间:
2020-03-01 12:36:46
阅读次数:
59
108. Convert Sorted Array to Binary Search Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this ...
分类:
编程语言 时间:
2020-02-29 22:03:51
阅读次数:
78
这个工具类里提供了大量方法对元素进行排序,查询和修改。 可以将集合设置为不可变,对集合对象实现同步控制。 同步控制 将制定集合包装成线程同步的集合。解决多线程并发访问集合时的线程安全问题。用synchronizedXxxx方法。 设置不可变集合。 emptyXxx返回一个空的,不可变的集合 sing ...
分类:
其他好文 时间:
2020-02-29 18:52:20
阅读次数:
70