Leetcode-Binary Tree TraversalFor recursion, it’s too easy. 3 BT traversals using stack(iterative way to solve it).Oct 17, 2021Oct 17, 2021
Leetcode-Combination SeriesUsually, when it comes to combination problems, the most naive way to solve the problem is generate all possible solutions. And, we use…Oct 6, 2021Oct 6, 2021
Leetcode-Basic Calculator SeriesGiven 一個string expression, 我們要去計算result of expression.Sep 10, 2021Sep 10, 2021
ML system design interview-Feed Based System什麼是Feed Based Feed System? 經典的就是Tweeter’s Feed, Facebooks Timeline, IG’s story.Aug 11, 2021Aug 11, 2021
Leetcode-subarraySome pattern about continuous subarray related problem. Usually, naive solution is generate all possible subarray, which takes O(n²) times…Aug 4, 2021Aug 4, 2021
ML system design interview-Recommendation SystemExplicit data 在 data collection會有MNAR(非隨機缺失的問題Jul 28, 2021Jul 28, 2021