LeetCode | 0700. Search in a Binary Search Tree二叉搜索树中的搜索【Python】
LeetCode 0700. Search in a Binary Search Tree二叉搜索树中的搜索【Easy】【Python】【二叉树】
2020-06-28
elasticsearch学习笔记(二十八)——Elasticsearch 实战各种query搜索
每个子查询都会计算一个document针对它的相关度分数,然后bool综合所有分数,合并为一个分数,当然filter是不会计算分数的。示例:
Elastic-Search Query DSL Demo
{代码...}
2022-12-23
【译】JavaScript engine fundamentals: optimizing prototypes
前言 前往 ➡️ 我的博客 本文是根据自己的理解翻译而来,如有疑惑可查看原文 JavaScript engine fundamentals: optimizing prototypes。 本次暂定翻译三篇文章: JavaScript engine fundamentals: Shapes and Inline Caches(Published 14th June 2018) JavaScript engine fundamentals: optimizing prototypes(Published ...
2019-10-10
Docker 小记 — Docker Engine
用了 Docker 方才觉得生产环境终于有了他该有的样子,就像集装箱普及之后大型货轮的价值才逐渐体现出来,Docker 详细说明可查阅“官方文档”。本篇为 Docker Engine 的笔记,也就是我们通常说的 Docker,他包含了提供容器技术实现的 Docker daemon 及终端控制 Docker CLI 的应用程序。后续会继续发布 Docker Compose 和 Do...
leetcode34 search for a range
即 在一个有序排列的数组中,找到目标值所在的起始下标和结束下标。如果该目标值不在数组中,则返回[-1,-1]题目中有一个特殊要求是时间复杂度为O(logn),也就是在暗示我们,不能只是单纯的按照顺序遍历数组,要尽量减去无效遍历。所以这题的核心思路为二分法遍历。
2017-04-29
[LintCode/LeetCode] Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
2016-05-18
Leetcode - Word Search I,II
我的思路:1.首先得在board中寻找首元素可能出现的位置,对每个合法的开始位置进行dfs2.每次dfs的过程中,结合backtracing避免回退
2018-07-31
35. Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
2019-02-02
Leetcode 79. Word Search
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacentcell, where "adjacent" cells are those horizontally or verticallyneighboring. The same letter cell may not be used more than once. Example: board = [ ['A','B','C','E']...
2019-03-18
上海 / 远程 | Web3 外资初创 | Flutter 移动端开发 | 前谷歌团队
Senior Mobile Engineer (Lead) - FlutterLocation: Shanghai (open to remote)Compensation: Competitive salary plus equityExperience: Senior
2022-05-27
COM1005 Rambler问题
Assignment: The Rambler’s ProblemCOM1005 Machines and IntelligenceSemester 2: Experiments with AI TechniquesHeidi ChristensenUniversity of SheffieldVersion 1.1This assignment carries 30% of the marks for COM1005DUE DATE: Friday 21st May 2021 at 23:59 (UK Time)In this assignment you’ll experiment ...
2022-05-10
Kubernetes1.21搭建harbor
一直使用的腾讯云的个人仓库做镜像仓库。早些时候腾讯云有了tcr容器镜像服务:瞄了一眼感觉略贵。个人也就50个之内的image。就想用一下镜像安全,漏洞扫描。也没有那么强硬的需求。600多块一个月还是感觉略贵!还是老老实实搭建一下harbor吧!
2021-09-03
如何分析 SAP Spartacus 路由问题之 CheckoutAuthGuard 单步调试
The standard Storefront is used which is generated by Spartacus Schematics.
2021-06-16
用Lambda武装你的Java: 灵活的事务
当你采用Spring之类的框架,用了声明式事务,难道每一段需要事务的代码都必须写成一个bean method,再标上@Transactional?
cmake 官方入门说明 Step2 + ubuntu16.04一通执行过程[未完]
Now we will add a library to our project. This library will contain our own implementation for computing the square root of a number.The executable can then use this library instead of the standard square root function provided by the compiler.让可执行程序能使用这个库For this tutorial we will put...
2019-12-22
MCG5138 Final
Particle Image Velocimetry (PIV) Data ProcessingEach student is expected to submit a report on the final project. A complete submissionshould include the following elements:
2022-08-06