错不真气天天今
错不真气天天今
全部文章
问题总结
阅读笔记(16)
归档
标签
去牛客网
登录
/
注册
错不真气天天今的博客
hey,guys. #email:iamsevenlee@163.com
全部文章
/ 问题总结
(共244篇)
HTML5 Web Workers
来自专栏
Web worker 是运行在后台的JavaScript,不会影响页面的性能。 什么是Web Worker? 当在 HTML 页面中执行脚本时,页面的状态是不可响应的,直到脚本已完成。web worker 是运行在后台的 JavaScript,独立于其他脚本,不会影响页面的性能。您可以继续做任何愿意...
2021-02-17
0
521
设计LRU缓存结构
来自专栏
/** * lru design * @param operators int整型二维数组 the ops * @param k int整型 the k * @return int整型一维数组 */ function LRU( operators , k ) { // write...
2021-02-17
0
491
在转动过的有序数组中寻找目标值索引
来自专栏
/** * * @param A int整型一维数组 * @param target int整型 * @return int整型 */ function search( A , target ) { // write code here let index = ...
2021-02-16
0
465
最大正方形(动态规划)
来自专栏
/** * 最大正方形 * @param matrix char字符型二维数组 * @return int整型 */ function solve( matrix ) { // write code here let row = matrix.length let ...
2021-02-16
0
547
数组中相加为0的三元组
来自专栏
/** * * @param num int整型一维数组 * @return int整型二维数组 */ function threeSum( num ) { // write code here let result = [] let len = num.leng...
2021-02-16
0
429
字符串化为整数
来自专栏
/** * * @param str string字符串 * @return int整型 */ function atoi( str ) { // write code here if(!str) return 0; str = str.trim() ...
2021-02-16
0
392
最长公共子串(动态规划)
来自专栏
/** * longest common substring * @param str1 string字符串 the string * @param str2 string字符串 the string * @return string字符串 */ function LCS( str1 , ...
2021-02-16
0
622
两个链表的第一个公共结点
来自专栏
/*function ListNode(x){ this.val = x; this.next = null; }*/ function FindFirstCommonNode(pHead1, pHead2) { // write code here var p1 =...
2021-02-15
0
416
判断链表是否为回文结构
来自专栏
/* * function ListNode(x){ * this.val = x; * this.next = null; * } */ /** * * @param head ListNode类 the head * @return bool布尔型 */ funct...
2021-02-15
0
549
设计getMin功能的栈
来自专栏
/** * return a array which include all ans for op3 * @param op int整型二维数组 operator * @return int整型一维数组 */ function getMinStack( op ) { // write...
2021-02-15
0
422
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页