上一页 1 ··· 10 11 12 13 14
摘要: Given a linked list, return the node where the cycle begins. If there is no cycle, return null. To represent a cycle in the given linked list, we use 阅读全文
posted @ 2021-08-29 12:37 sherry001 阅读(34) 评论(0) 推荐(0) 编辑
摘要: Given a linked list, determine if it has a cycle in it. To represent a cycle in the given linked list, we use an integer pos which represents the posi 阅读全文
posted @ 2021-08-29 12:16 sherry001 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Given the head of a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should p 阅读全文
posted @ 2021-08-29 09:14 sherry001 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 给你一个链表的头节点 head 和一个整数 val ,请你删除链表中所有满足 Node.val == val 的节点,并返回 新的头节点 。 示例 1: 输入:head = [1,2,6,3,4,5,6], val = 6输出:[1,2,3,4,5] 解题思路: 借助dummy node。 这个题用 阅读全文
posted @ 2021-08-28 18:59 sherry001 阅读(24) 评论(0) 推荐(0) 编辑
摘要: Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2021-08-28 13:35 sherry001 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 给你单链表的头节点 head ,请你反转链表,并返回反转后的链表。 Input: head = [1,2,3,4,5] Output: [5,4,3,2,1] /** * Definition for singly-linked list. * public class ListNode { * i 阅读全文
posted @ 2021-08-28 11:32 sherry001 阅读(28) 评论(0) 推荐(0) 编辑
摘要: filesystem cache 数据预热 冷热分离 document 模型设计 分页性能优化 1、filesystem cache 往 es 里写的数据,实际上都写到磁盘文件里去了,**查询的时候**,操作系统会将磁盘文件里的数据自动缓存到 `filesystem cache` 里面去 es 的搜 阅读全文
posted @ 2019-07-25 14:32 sherry001 阅读(5041) 评论(0) 推荐(0) 编辑
摘要: 1、lucene和elasticsearch的前世今生 2、elasticsearch的核心概念 3、elasticsearch核心概念 vs. 数据库核心概念 4、es 的分布式架构原理以及es是如何实现分布式 5、es 写入数据的工作原理 6、es 查询数据的工作原理 7、 删除/更新数据底层原 阅读全文
posted @ 2019-07-24 17:17 sherry001 阅读(419) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14