Skip to content

Latest commit

 

History

History
856 lines (808 loc) · 292 KB

README.md

File metadata and controls

856 lines (808 loc) · 292 KB

Teaching Kids Programming

I teach my sons (currently they are aged 10 and 11) programming. I upload the video and write the blog.

If you would like to suggest a topic or found an issue/bug, please could you open an issue. Thanks!

The videos and blog are in English. The Teaching Programming Language is Python.

------>All Videos/Posts sorted by Days<----------

About Me

I am currently a Senior Software Engineer at Microsoft Research Cambridge. Prior to that I worked as a SDE (Software Development Engineer aka Someone Does Everything) for Amazon Web Service (S3 Object Lambda) and as a Staff Software Engineer for General Electric Smallworld when I added while loop, regex, http library and so much more to the Magik Programming Language.

My profile at Microsoft Research Cambridge - and you can view my latest updates at my person website: https://zhihua-lai.com

Channels and Blog

Problem ID at Leetcode and BinarySearch

Most of the videos are based on a Leetcode and/or BinarySearch problem, which you could find the Problem ID on the video whiteboard left corner, or alternatively, you can find it at the list i.e. the "Resource Links" column

I used to submit solutions to binarysearch.com however it seems the website is down forever.

Buy me a Coffee

Subtitles

You can improve this! Thanks. see here

All Videos & Search

---->View a List of All Videos and Search here<------

Teaching Wife Programming in Chinese

教小白媳妇编程,比教娃有难度. 不定期更新,对应教娃视频。

Data Format 数据格式

Title Title Chinese Video Blog Date
Introduction to XML Data Format XML数据格式简介 Youtube - B站 - 西瓜 Introduction to XML Data Format 2022-10-01
What is JSON? Simply Explained JSON简介 Youtube - B站 - 西瓜 What is JSON? Simply Explained 2022-09-23

Programming Fundamentals 基础知识

Title Title Chinese Video Blog Date
Introduction to Two's Complement (Storing Negative Numbers) 计算机中补码简介(存储负整数) Youtube - B站 - 西瓜 Introduction to Two's Complement (Storing Negative Numbers) 2023-11-10
Maximum Odd Binary Number 最大奇数二进制 Youtube - B站 - 西瓜 Maximum Odd Binary Number 2023-10-06
Count Number of Even and Odd Bits (Binary) 数整数上奇数和偶数位上的1的个数(二进制) Youtube - B站 - 西瓜 Count Number of Even and Odd Bits (Binary) 2023-09-04
Introduction to Units of Information (Byte, KB, MB, GB, TB, PB) 字节(Byte)等信息单元简介 Youtube - B站 - 西瓜 Introduction to Units of Information (Byte, KB, MB, GB, TB, PB) 2023-05-31
Remove Trailing Zeros From a String (strip, lstrip, rstrip) 删除字符串尾巴的零(strip, lstrip, rstrip的实现) Youtube - B站 - 西瓜 Remove Trailing Zeros From a String (strip, lstrip, rstrip) 2023-05-29
URL Simply Explained URL简介 Youtube - B站 - 西瓜 URL Simply Explained 2023-03-25
The Find Function/Algorithm for a List/Tuple in Python (Find vs Index) Python 列表/元组的查找索引函数(线性搜索算法) Youtube - B站 - 西瓜 The Find Function/Algorithm for a List/Tuple in Python (Find vs Index) 2023-02-11
The Endless Iterator Cycle (from itertools) in Python Python 中的无限循环迭代器(itertools.cycle) Youtube - B站 - 西瓜 The Endless Iterator Cycle (from itertools) in Python 2023-02-02
Pass by Values, References or Object-References in Python Python中传递值、引用或对象引用 Youtube - B站 - 西瓜 Pass by Values, References or Object-References in Python 2022-03-23
Kadane's Algorithm to Compute Maximum Subarray Sum (Math) Kadane 算法计算最大子数组之和 Youtube - B站 - 西瓜 Kadane's Algorithm to Compute Maximum Subarray Sum (Math) 2021-10-14
First Number Equal or Larger Than Target using Next Function 用next方法找出数组中大于等于目标的第一个数(Python 入门) Youtube - B站 - 西瓜 First Number Equal or Larger Than Target using Next Function 2021-10-08
Introduction to Hashing Function 哈希函数简介 Youtube - B站 Introduction to Hashing Function 2021-10-03
Convert 1-D Array to 2D Matrix (Reshape Algorithm) 把1维数组转换成2维矩阵 Youtube - B站 Convert 1-D Array to 2D Matrix (Reshape Algorithm) 2021-10-02
Final Value of Variable After Performing Operations (via Reduce Function) 变量自增或自减后的值(Reduce函数) Youtube - B站 Final Value of Variable After Performing Operations (via Reduce Function) 2021-09-21
Inplace Algorithms to Remove Elements 原地移除目标元素 Youtube - B站 Inplace Algorithms to Remove Elements 2021-08-07
Implement the Counter in Python Counter方法的实现 Youtube - B站 Implement the Counter in Python 2021-07-28
Implement the String.Find Method in Python 字符串查找字符的线性算法 Youtube - B站 Implement the String.Find Method in Python 2021-07-27
ROT13 String Cipher Algorithm in Python Python 中的 ROT13 字符串密码算法 Youtube - B站 ROT13 String Cipher Algorithm in Python 2021-07-26
Delete Node in a Linked List (No access to Head) 删除链表中的指定节点(无法访问头节点) Youtube - B站 Delete Node in a Linked List (No access to Head) 2021-07-22
Concatenation of Array 数组的串联 Youtube - B站 Concatenation of Array 2021-07-21
Introducing the Chain Function in Python Python中的chain函数 Youtube - B站 Introducing the Chain Function in Python 2021-07-09
Implement the Accumulate Function in Python Python的accumulate函数的实现 Youtube - B站 Implement the Accumulate Function in Python 2021-04-23
Packing Boxes Algorithm using GroupBy GroupBy算法 Youtube - B站 Packing Boxes Algorithm using GroupBy 2021-04-04
Python Function to Check If Valid IPv4 Address IPv4地址字符串验证算法 Youtube - B站 Python Function to Check If Valid IPv4 Address 2021-02-07
Introduction to ASCII ASCII简介 Youtube - B站 Introduction to ASCII 2021-01-30
Re-implement the enumerate in Python using yield in a Generator Python中enumerate方法和实现 Youtube - B站 Re-implement the enumerate in Python using yield in a Generator 2021-01-18
Introduction and Re-implement the zip and zip_longest Function in Python Python中zip和zip_longest的实现 Youtube - B站 Introduction and Re-implement the zip and zip_longest Function in Python 2021-01-17
Algorithm to Transpose a Matrix 矩阵转置的算法 Youtube - B站 Algorithm to Transpose a Matrix 2021-01-13
Logarithm Algorithm to Compute the Power x^n Function 幂函数的Log(N)求解算法 Youtube - B站 Logarithm Algorithm to Compute the Power x^n Function 2021-01-12
Hexadecimal Numbers Conversion 十六进制转换 Youtube - B站 Binary and Decimal Conversion Algorithms 2020-12-26
Binary and Decimal Conversion Algorithms 二进制和十进制数字的转换算法 Youtube - B站 Binary and Decimal Conversion Algorithms 2020-12-24
Introduction to Algorithmic Complexity 算法复杂度初探 Youtube - B站 Introduction to Algorithmic Complexity 2020-12-08
List in Python Python列表(数组)基础知识 List in Python Youtube - B站 List in Python 2020-12-12
Introduction to Object Oriented Programming (OOP) 面向对象编程简介 OOP Youtube - B站 Introduction to Object Oriented Programming (OOP) 2020-12-16
Merge Two Sorted Lists 合并两个有序的数列 Youtube - B站 Merge Two Sorted Lists 2020-12-09

Permutations and Combinations 排列组合数学

Title Title Chinese Video Blog Date
Three Algorithms to Compute the Combination Number (Recursion, Dynamic Programming, Math) 计算组合数的三种算法(数学, 递归, 动态规划) Youtube - B站 - 西瓜 Three Algorithms to Compute the Combination Number (Recursion, Dynamic Programming, Math) 2022-09-11
Reordered Power of Two (Rearranging the Digits, Permutation + Math Counting) 重新排序的2次幂(全数字排列+计数) Youtube - B站 - 西瓜 Reordered Power of Two (Rearranging the Digits, Permutation + Math Counting) 2022-08-28
(!3+3)*!3=10 – Derangement Permutation Algorithms via Dynamic Programming and Recursion with Memoziation (!3+3)*!3=10 动态规划算法求错位排列数(数学, 记忆化递归搜索) Youtube - B站 - 西瓜 (!3+3)*!3=10 – Derangement Permutation Algorithms via Dynamic Programming and Recursion with Memoziation 2022-07-13
How Many Solvable Permutations for a 3×3 Rubik’s Cube? (Math, Combinatorics) 3x3魔方的可解排列数(组合数学) Youtube - B站 - 西瓜 How Many Solvable Permutations for a 3×3 Rubik's Cube? (Math, Combinatorics) 2022-03-20
Introduction to Permutation and Combination 排列组合算法 Youtube - B站 Introduction to Permutation and Combination 2021-02-20
Recursive Combination Algorithm 递归组合算法 Youtube - B站 Recursive Combination Algorithm 2021-03-17

Math 数学

Title Title Chinese Video Blog Date
N-Repeated Element in Size 2N Array (Pigeonhole Principle) 大小为2N的数组中的N重复元素(鸽巢原理) Youtube - B站 - 西瓜 N-Repeated Element in Size 2N Array (Pigeonhole Principle) 2024-02-19
Linear Algebra: Using Matrix to Solve Equations of X and Y (Math) 线性代数: 用矩阵相乘来解二元一次方程(数学) Youtube - B站 - 西瓜 Linear Algebra: Using Matrix to Solve Equations of X and Y (Math) 2023-12-10
Another Birthday Candles Problem (Binary Search and Brute Force / Linear Search) 另一个生日蜡烛问题(两种算法: 二分搜索与线性/穷举搜索) Youtube - B站 - 西瓜 Another Birthday Candles Problem (Binary Search and Brute Force / Linear Search) 2023-12-03
The Birthday Candles Problem (Three Algorithms) 生日蜡烛问题(三种算法) Youtube - B站 - 西瓜 The Birthday Candles Problem (Three Algorithms) 2023-12-01
Divisible and Non-divisible Sums Difference (Brute Force Algorithm and Math) 1到N自然数可被m整除和不可整除的数字之和的差异(穷举+数学) Youtube - B站 - 西瓜 Divisible and Non-divisible Sums Difference (Brute Force Algorithm and Math) 2023-10-13
Compute Sum of 1/(1+2+..N) Using Math and Python 数学求和Sum(1/(1+2+..N)) Youtube - B站 - 西瓜 Compute Sum of 1/(1+2+..N) Using Math and Python 2023-10-08
Smallest Number With Given Digit Product (Greedy Factorization Algorithm) 给定数字乘积的最小数(贪心因子分解算法) Youtube - B站 - 西瓜 Smallest Number With Given Digit Product (Greedy Factorization Algorithm) 2023-09-08
Math Proof of the Number of Odd Degree Vertices in a Graph is Even 图中奇数度顶点数为偶数的数学证明 Youtube - B站 - 西瓜 Math Proof of the Number of Odd Degree Vertices in a Graph is Even 2023-08-04
Conditions That A Connected Graph Can Be Drawn With One Stroke (Euler Path/Euler Cycle/Circuit) 连通图形能否一笔画的条件(欧拉路径/欧拉环路) Youtube - B站 - 西瓜 Conditions That A Connected Graph Can Be Drawn With One Stroke (Euler Path/Euler Cycle/Circuit) 2023-07-31
Minimum Operations to Reduce an Integer to 0 (Recursion with Math Proof) 将整数减至0的最少操作(数学证明+另一种递归) Youtube - B站 - 西瓜 Minimum Operations to Reduce an Integer to 0 (Recursion with Math Proof) 2023-07-21
Algorithms to Count Total Number of Colored Cells (Math/Recursion/Dynamic Programming) 计算有色细胞总数的算法(数学/递归/动态规划) Youtube - B站 - 西瓜 Algorithms to Count Total Number of Colored Cells (Math/Recursion/Dynamic Programming) 2023-06-19
Maximum Number of Space Partitions by N Straight Lines (Pizza Cutting Problem, Math, DP, Recursion) N条直线最大空间分割数(披萨问题)/数学/递归/动态规划算法 Youtube - B站 - 西瓜 Maximum Number of Space Partitions by N Straight Lines (Pizza Cutting Problem, Math, DP, Recursion) 2023-06-09
Compute the Probability Matrix (Math) of Walking in a Grid (Unique Paths) 计算在网格中行走的(数学)概率矩阵(唯一路径) Youtube - B站 - 西瓜 Compute the Probability Matrix (Math) of Walking in a Grid (Unique Paths) 2023-05-21
Compute Average of an Array Excluding Max and Min (Math) 计算不包括最大值和最小值的数组的平均值(数学) Youtube - B站 - 西瓜 Compute Average of an Array Excluding Max and Min (Math) 2023-05-01
Minimum Bit Flips to Convert Number (Hamming Distance, Math) 转换数字的最小位翻转(汉明距离) Youtube - B站 - 西瓜 Minimum Bit Flips to Convert Number (Hamming Distance, Math) 2023-05-03
Sum the Multiples in a Range using Venn Diagram (Math and Bruteforce Algorithm) 使用维恩图对范围内的倍数求和(数学+穷举搜索) Youtube - B站 - 西瓜 Sum the Multiples in a Range using Venn Diagram (Math and Bruteforce Algorithm) 2023-04-24
Distinct Prime Factors of Product of Array (Math) 数数组乘积的不同质数因子数(数学) Youtube - B站 - 西瓜 Distinct Prime Factors of Product of Array (Math) 2023-04-01
Passing Item From One End to Another (Who Has It After N Seconds: Math/Simulation) 将物品从一端传递到另一端(N秒后在谁手上: 数学+仿真算法) Youtube - B站 - 西瓜 Passing Item From One End to Another (Who Has It After N Seconds: Math/Simulation) 2023-03-05
Compute the Area of Square in Square (Similar Triangles, Math, Geometry) 计算内部正方形的面积(相似三角形, 数学, 几何) Youtube - B站 - 西瓜 Compute the Area of Square in Square (Similar Triangles, Math, Geometry) 2023-02-27
Algorithms to Count Surface Area of 3D Shapes (Geometry and Math) 计算3D形状表面积的算法(几何和数学) Youtube - B站 - 西瓜 Algorithms to Count Surface Area of 3D Shapes (Geometry and Math) 2023-02-26
Geometry of Triangle Area and Side Law (Math) 三角形面积几何与边定理(数学) Youtube - B站 - 西瓜 Geometry of Triangle Area and Side Law (Math) 2023-02-23
How Many Games are Played in World Cup (Combinatorics and Permutations - Math) 世界杯进行了多少场比赛(组合数学和排列组合) Youtube - B站 - 西瓜 How Many Games are Played in World Cup (Combinatorics and Permutations - Math) 2022-12-12
Compound Interests and Euler's number (Math Constant E) 复利和欧拉数(数学常数 E) Youtube - B站 - 西瓜 Compound Interests and Euler's number (Math Constant E) 2022-11-14
Number of Common Factors (Bruteforce Algorithm + Greatest Common Divisor) 共同因子数(蛮力搜索算法+最大公约数) Youtube - B站 - 西瓜 Number of Common Factors (Bruteforce Algorithm + Greatest Common Divisor) 2022-10-16
Concatenation of Consecutive Binary Numbers 计算连续二进制数的串联的值 Youtube - B站 - 西瓜 Concatenation of Consecutive Binary Numbers 2022-09-25
Gray Code by Recursive Mirror Algorithm 格雷码 (Gray Code) 递归镜像算法 Youtube - B站 - 西瓜 Gray Code by Recursive Mirror Algorithm 2022-05-07
Valid Square Algorithm by Four Points in Cartesian Coordinate System (Math, Hashmap) 判断平面上四个顶点是否可以组成正方形(笛卡尔坐标系, 数学, 哈希表) Youtube - B站 - 西瓜 Valid Square Algorithm by Four Points in Cartesian Coordinate System (Math, Hashmap) 2022-07-28
Introduction to Cartesian Product (Math) 笛卡尔积(product函数)简介 Youtube - B站 - 西瓜 Introduction to Cartesian Product (Math) 2022-07-16
Partition List to Pairs that Are Divisible by K (Hash Map) 划分数组成可被K整除的数对(数学, 哈希表) Youtube - B站 - 西瓜 Partition List to Pairs that Are Divisible by K (Hash Map) 2022-05-24
Binary Search Algorithm and Exponential Formula (MATH) to Solve Equation x^x=2^2048 通过数学或二分搜索算法求解方程 x^x=2^2048 Youtube - B站 - 西瓜 Binary Search Algorithm and Exponential Formula (MATH) to Solve Equation x^x=2^2048 2022-04-08
Check if an Array Is Consecutive via Sorting Algorithm 通过排序检查数组是否连续 Youtube - B站 - 西瓜 Check if an Array Is Consecutive via Sorting Algorithm 2022-04-06
Finding All Subsets by Bitmasking Algorithm 通过位掩码算法查找所有子集 Youtube - B站 - 西瓜 Finding All Subsets by Bitmasking Algorithm 2022-03-29
Sum of Geometric Progression (Math Proof and Python Function) 等比数列求和公式数学证明及Python实现 Youtube - B站 - 西瓜 Sum of Geometric Progression (Math Proof and Python Function) 2022-03-11
Probability of Rolling a Dice: Strictly Increasing Order One After Another (Math) 掷骰子得到严格递增序列数字的概率(数学) Youtube - B站 - 西瓜 Probability of Rolling a Dice: Strictly Increasing Order One After Another (Math) 2022-02-22
Probability of Two Sixes in a Row when Rolling a Dice Three Times One After Another (Math) 掷骰子三次得到两个六的概率 (数学) Youtube - B站 - 西瓜 Probability of Two Sixes in a Row when Rolling Three Dices (Math) 2022-02-21
Find Three Consecutive Integers That Sum to a Given Number (Math) 找出和为给定数字的三个连续整数(数学) Youtube - B站 - 西瓜 Find Three Consecutive Integers That Sum to a Given Number (Math) 2022-02-19
Algorithm to Compute the Smallest Value of the Rearranged Number (Math) 重排数字的最小值(数学) Youtube - B站 - 西瓜 Algorithm to Compute the Smallest Value of the Rearranged Number (Math) 2022-02-12
Math Proof of Logarithm Rules: log(ab)=log(a)+log(b) and log(a/b)=log(a)-log(b) 数学对数公式证明: log(ab)=log(a)+log(b) 和 log(a/b)=log(a)-log(b) Youtube - B站 - 西瓜 Math Proof of Logarithm Rules: log(ab)=log(a)+log(b) and log(a/b)=log(a)-log(b) 2022-02-10
Math Simplified Fractions where Denominator is Less-than-or-equal-to N 数学简化的分数 Youtube - B站 - 西瓜 Math Simplified Fractions where Denominator is Less-than-or-equal-to N 2022-02-09
Estimate the Math Continued Fraction Value in Python (Recursion and Iterative Algorithm) 数学连分数的求值算法(递归和迭代) Youtube - B站 - 西瓜 Estimate the Math Continued Fraction Value in Python (Recursion and Iterative Algorithm) 2022-02-02
Number of Steps to Reduce a Number to Zero (Math, Simulation Algorithm, Binary) 将数字减少为零的最小步骤数 (数学, 仿真, 二进制) Youtube - B站 - 西瓜 Number of Steps to Reduce a Number to Zero (Math, Simulation Algorithm, Binary) 2022-01-16
Increasing Triplet Subsequence Algorithm 递增的三元子序列 Youtube - B站 - 西瓜 Increasing Triplet Subsequence Algorithm 2022-01-11
Check if Every Row/Column Contains 1-N (XOR and Hash Set) 检查矩阵每行和每列是否包含1-N自然数 Youtube - B站 - 西瓜 Check if Every Row/Column Contains 1-N (XOR and Hash Set) 2022-01-09
Math Proof of Rule: Integer Divisible By 3 整数能被3整除公式的数学证明 Youtube - B站 - 西瓜 Math Proof of Rule: Integer Divisible By 3 2021-12-25
Day of the Year (Leap Year Algorithm) 一年中的第几天(闰年算法) Youtube - B站 - 西瓜 Day of the Year (Leap Year Algorithm) 2021-12-21
Algorithms to Count Numbers with Odd Number of Digits 数奇数个数字的数 Youtube - B站 - 西瓜 Algorithms to Count Numbers with Odd Number of Digits 2021-11-29
Number of Sublists with Max in Interval 数最大值在区间内的子列表数 (子序列, 数学) Youtube - B站 - 西瓜 Number of Sublists with Max in Interval 2021-11-28
Python Function to Find the Mode in an Array (Most Frequent Number) 数组中的众数的计算 (Mode, 数学) Youtube - B站 - 西瓜 Python Function to Find the Mode in an Array (Most Frequent Number) 2021-11-25
Compute the Number of Sublists by Combination in Math 通过组合数学计算子序列总数 Youtube - B站 - 西瓜 Compute the Number of Sublists by Combination in Math 2021-11-24
Silver Ratio and Pell Numbers (Metal Quadratic Equation) 白银比例和佩尔数列(贵金属分割) Youtube - B站 - 西瓜 Silver Ratio and Pell Numbers (Metal Quadratic Equation) 2021-11-13
Solving Math Equation n*n+19*n-n!=0 (Factorial Function and Unbounded Bruteforce Algorithm) 求n*n+19n-n!=0的解(阶乘函数) Youtube - B站 - 西瓜 Solving Math Equation n*n+19*n-n!=0 (Factorial Function and Unbounded Bruteforce Algorithm) 2021-11-12
Linear Equation with Two Unknowns (Chicken and Rabbit Problem) 穷举算法或二元一次方程解鸡兔同笼问题 Youtube - B站 - 西瓜 Linear Equation with Two Unknowns (Chicken and Rabbit Problem) 2021-11-04
Estimate the Golden Ratio via Fibonacci Numbers in Python 黄金分割点的斐波那契数列估值算法 Youtube - B站 - 西瓜 Estimate the Golden Ratio via Fibonacci Numbers in Python 2021-10-30
Estimating the Performance Speedup (Gain) using Amdahls Law (Parallel Computing) 通过 阿姆达尔定律 Amdahl's Law 估计理论并行最大加速 (并行计算) Youtube - B站 - 西瓜 Estimating the Performance Speedup (Gain) using Amdahls Law (Parallel Computing) 2021-10-24
Area and Circumferences of Circle and Monte Carlo Simulation Algorithm of PI 圆的面积和周长和蒙特卡罗估计圆周率算法的简介 Youtube - B站 - 西瓜 Area and Circumferences of Circle and Monte Carlo Simulation Algorithm of PI 2021-10-22
Introduction to Probability and Naive Bayes 概率简介和朴素贝叶斯分类算法 Youtube - B站 - 西瓜 Introduction to Probability and Naive Bayes 2021-10-12
Finding Real Roots of a Quadratic Equation 计算一元二次方程的实数根 Youtube - B站 Finding Real Roots of a Quadratic Equation 2021-09-30
Compute the Max Fence Area via Bruteforce Algorithm or Parabola Quadratic Equation 通过蛮力算法或抛物线二次方程计算最大围栏面积 Youtube - B站 Compute the Max Fence Area via Bruteforce Algorithm or Parabola Quadratic Equation 2021-09-28
Matrix Power Algorithm 矩阵的N次方算法 Youtube - B站 Matrix Power Algorithm 2021-09-09
Matrix Add, Subtraction and Multiplication Algorithm 矩阵的加减相乘算法 Youtube - B站 Matrix Add, Subtraction and Multiplication Algorithm 2021-09-06
Compute the Dot Product using Zip Function in Python 在Python中使用Zip函数计算点积 Youtube - B站 Compute the Dot Product using Zip Function in Python 2021-09-05
Island Shape Perimeter 岛形周长算法 Youtube - B站 Island Shape Perimeter 2021-08-16
Arithmetic Sequence Permutation 等差数列排列 Youtube - B站 Arithmetic Sequence Permutation 2021-08-12
Add Two Big Integers in Strings 高精度加法算法 Youtube - B站 Add Two Big Integers in Strings 2021-08-10
Number of Positions in Line of People 计算队列中满足两条件的可能位置数 Youtube - B站 Number of Positions in Line of People 2021-07-24
Max Number of Points on a Line 求一条直线上最多的点数 Youtube - B站 Max Number of Points on a Line 2021-07-03
Number of Changing Directions 改变方向的数字 Youtube - B站 Number of Changing Directions 2021-06-25
Count Odd Numbers in an Interval Range 数区间里奇数个数 Youtube - B站 Count Odd Numbers in an Interval Range 2021-06-22
Rotate a 2D Matrix/Image 90 Degree AntiClockwise 逆时针旋转矩阵算法 Youtube - B站 Rotate a 2D Matrix/Image 90 Degree AntiClockwise 2021-06-08
Rotate a 2D Matrix/Image 90 Degree Clockwise 顺时针旋转矩阵算法 Youtube - B站 Rotate a 2D Matrix/Image 90 Degree Clockwise 2021-06-07
Permutation of Rooks Do Not Attack Each Other 棋盘上互不攻击的车 Youtube - B站 Permutation of Rooks Do Not Attack Each Other 2021-06-02
Hour and Minute Angle on a Clock 时针和分针的角度计算 Youtube - B站 Hour and Minute Angle on a Clock 2021-04-24
Generate Prime Numbers using Sieve of Eratosthenes Algorithms Eratosthenes质数算法 Youtube - B站 Generate Prime Numbers using Sieve of Eratosthenes Algorithms 2021-04-14
Perfect Number Validation Algorithm 完美数验证算法 Youtube - B站 Perfect Number Validation Algorithm 2021-02-23
Recursive Algorithm to Compute the Square Root 连分数计算开平方算法 Youtube - B站 Recursive Algorithm to Compute the Square Root 2021-02-16
Algorithms of Power of Two 整数是否为2次冪的算法 Youtube - B站 Algorithms of Power of Two 2021-02-02
Algorithms to Check If Integer Power of Three 整数是否是3的N次方的算法 Youtube - B站 Algorithms to Check if Integer Power of Three 2021-02-01
Compute the Number of Trailing Zeros for Factorial N 计算N阶乘尾巴零的个数 Youtube - B站 Compute the Number of Trailing Zeros for Factorial N 2021-01-29
Pascal Triangle Algorithms and Applications 杨辉三角形(Pascal)的求解算法和应用 Youtube - B站 Pascal Triangle Algorithms and Applications 2021-01-10
Pythagorean Theorem and Algorithm to Find Pythagorean Numbers 勾股定理证明和求解算法 Youtube - B站 Pythagorean Theorem and Algorithm to Find Pythagorean Numbers 2021-01-08
Compute the Average and Median 求平均数和中位数 Youtube - B站 Compute the Average and Median 2020-12-04
Introduction to Math Induction Tool (Sum of Integers, Sum of Squares) 数学归纳法简介(数列求和,数列平方和) Youtube - B站 Introduction to Math Induction Tool (Sum of Integers, Sum of Squares) 2020-12-07

Bit 位

Title Title Chinese Video Blog Date
Reverse Bits of a 32-bit Integer 反转32位整数位 Youtube - B站 Reverse Bits of a 32-bit Integer 2021-04-02
Longest Consecutive Run of 1s in Binary 求整数二进制中最大连续1的个数 Youtube - B站 Longest Consecutive Run of 1s in Binary 2021-03-31
Compute the Hamming Distance of Two Integers 计算两整数的汉明距离的算法 Youtube - B站 Compute the Hamming Distance of Two Integers 2021-02-08
Compute the Number of Set Bits in an Integer 整数二进制表示中1的数量 Youtube - B站 Compute the Number of Set Bits in an Integer 2021-02-06

Data Structures 数据结构

Title Title Chinese Video Blog Date
Count Servers that Communicate (Hash Map - Counter) 对通信的服务器进行计数(哈希表 - 计数器) Youtube - B站 - 西瓜 Count Servers that Communicate (Hash Map - Counter) 2023-08-25
Find The K-th Lucky Number (Complete Binary Tree Algorithm) 找到第 K 个幸运数字(完全二叉树算法) Youtube - B站 - 西瓜 Find The K-th Lucky Number (Complete Binary Tree Algorithm) 2023-08-18
Algorithms to Minimize String Length (Hash Set) 最小化字符串长度的算法(哈希表) Youtube - B站 - 西瓜 Algorithms to Minimize String Length (Hash Set) 2023-07-03
Algorithms to Compute the Minimum String Length After Removing Substrings (Brute Force + Stack) 删除子字符串后的最小字符串长度(穷举暴力+堆栈) Youtube - B站 - 西瓜 Algorithms to Compute the Minimum String Length After Removing Substrings (Brute Force + Stack) 2023-06-16
Algorithms to Count Equal Row and Column Pairs in a Square Matrix using Hash Map 使用哈希表统计矩阵相等行和列对的算法 Youtube - B站 - 西瓜 Algorithms to Count Equal Row and Column Pairs in a Square Matrix using Hash Map 2022-08-18
Find Numbers in At Least Two Arrays Out of Three (Hash Set) 找出至少出现在2个数组的数(哈希集合) Youtube - B站 - 西瓜 Find Numbers in At Least Two Arrays Out of Three (Hash Set) 2022-06-01
Algorithms to Count Prefixes of a Given String (Trie Data Structure) 计算给定字符串前缀的算法(Trie 数据结构) Youtube - B站 - 西瓜 Algorithms to Count Prefixes of a Given String (Trie Data Structure) 2022-05-04
Find the Difference of Two Arrays (via Hash Set) 查找两个数组的差异(通过哈希集) Youtube - B站 - 西瓜 Find the Difference of Two Arrays (via Hash Set) 2022-03-27
Greedy/Simulation Algorithm to Validate Stack Sequences 验证出堆栈序列的贪心/模拟算法 Youtube - B站 - 西瓜 Greedy/Simulation Algorithm to Validate Stack Sequences 2022-03-19
Search Engine Algorithm (Word Matching) using Trie (Prefix Tree) and Depth First Search 搜索引擎匹配单词算法+前缀树/字典树(Trie)+深度优先算法(DFS) Youtube - B站 - 西瓜 Search Engine Algorithm (Word Matching) using Trie (Prefix Tree) and Depth First Search 2022-01-14
Single-Row Keyboard via Hash Table 用哈希表来估计在单行键盘手指移动总时间 Youtube - B站 - 西瓜 Single-Row Keyboard via Hash Table 2021-11-03
Design a Hash Table 设计一个哈希表 Youtube - B站 Design a Hash Table 2021-10-04
How to Verify a Max Heap? 验证最大堆算法 Youtube - B站 How to Verify a Max Heap? 2021-08-13
Python Implementation of Trie Data Structure (Prefix Tree) 数据结构Trie(前缀树)的Python实现 Youtube - B站 Python Implementation of Trie Data Structure (Prefix Tree) 2021-03-11
Using Double-Ended Queue to Perform a Breadth First Search Algorithm to Compute the Sum of the Nodes in a Binary Tree 双头队列和用广度优先算法来求二叉树节点之和 Youtube - B站 Using Double-Ended Queue to Perform a Breadth First Search Algorithm to Compute the Sum of the Nodes in a Binary Tree 2021-01-09
Introduction to Heap and Priority Queue 数据结构之堆和优先队列 Youtube - B站 Introduction to Heap and Priority Queue 2020-12-30
Introduction to Trees, Binary Trees, Perfect Binary Trees, and BFS 树和广度优先 Youtube - B站