ARTS #108 Algorithm 本周选择的算法题是:Unique Binary Search Trees。 规则 Given an integer n, return the number of structurally unique BST’s (binary search trees) which has exactly n nodes of unique values from 1 to n...
分享下 Brave 前言 分享一个更快、更安全的浏览器: Brave。Brave 诞生于 2019 年 - 在人们的隐私意识越来越高,并得知 Chrome 在过去10年收集、出售相关数据给广告公司,并从中获得大量利益之时。 根据 Brave 2021年2月2号公布的数据: Brave Passes 25 Million Monthly Active Users,Brave 的月活跃用户已经达到了 2500 ...
ARTS #107 Algorithm 本周选择的算法题是:4Sum II。 规则 Given four integer arrays nums1, nums2, nums3, and nums4 all of length n, return the number of tuples (i, j, k, l) such that: 0 <= i, j, k, l < n nums...
移动端 CI & CD 全流程一览 分享一张 CI & CD 的流程图:
ARTS #106 Algorithm 本周选择的算法题是:Sliding Window Maximum。 规则 You are given an array of integers nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You...
“我永远和与我对话者同龄” 文明、现代化、价值投资与中国。 这本书的书名很容易让人以为是教你如何做价值投资,但实际上书的第一部分并没有太多和投资直接相关的内容,更多的是教你如何思考。目录摘选: 人类文明的第一次飞跃 农业文明的诞生 现代化的诞生 现代化有没有可能在中国诞生 现代化的传播与现代化的道路之争 从文明史角度看中美关系及科技文明时代的东西方关系 … 李录提出了一些很好的问题...
ARTS #105 Algorithm 本周选择的算法题是:Pow(x, n)。 规则 Implement pow(x, n), which calculates x raised to the power n (i.e., xn). Example 1: Input: x = 2.00000, n = 10 Output: 1024.00000 Example 2: Input: x = 2....
浏览器缓存策略.xmind 分享一张浏览器缓存策略的思维导图: 在线预览及源文件见: 浏览器缓存策略。
ARTS #104 Algorithm 本周选择的算法题是:Min Stack。 规则 Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. Implement the MinStack class: MinStack() initializes the ...
关于移动端基建 最近认真思考了下移动端的基建,本质上是要回答两个问题: 基建解决什么问题 移动端的基建应该是什么样 基建其实解决的是开发应用太难的问题: 在计算机刚出现时,用戶是通过指令来操作计算机的,所以那时候用戶对计算机的掌控是非常深度的,后来有了软件的繁荣,用戶使用计算机的方式已经完全不一样了,计算机所发挥的作用也要比从前大的多了,但是现在就连开发应用的开发者都对应用被创建、执...