Skip to content

Sixian Li

Blog

View all tags
为 Git 设置代理

Tools

摆脱龟速 git clone

两个有序数组的中位数

LeetCode

要善于利用两个数字都有序这一信息

Longest Increasing Subsequence And Patience Game(Part2)

Algorithm

Implementation of the O(nlogn) solution

Longest Increasing Subsequence And Patience Game(Part1)

Algorithm

Idea behind the O(nlogn) solution

Integer Partition With Distinct Parts

Algorithm

Number of ways to write an integer as the sum of a decreasing sequence, e.g., 5=4+1=3+2

My favorite proofs from Analysis1

Math

with intuitions

Countdown to 2020

Fragments

19 days

Number of submatrices that sum to target

Algorithm, LeetCode

Explanations with pictures

Ubuntu 18.04 Remap mouse buttons

Ubuntu

Remap buttons on a *wireless* mouse

Dot products and projections

Linear Algebra

Why are they related?

Minimum spanning tree

Algorithm

MST has the min max edge

Stream

Functional Programming

Infinite data structure

Binding & Closure

Functional Programming

Binding != Assignment

Inductive Data Types

Functional Programming

Tree as an example

fold_right and fold_left

Functional Programming

fold in OCaml