Shawn Lin

Probability Pattern - Recursive Relationship

interview probability
Recursive RelationshipOverviewRecursive relationship is another very common pattern in both probability and expected value questions. The question ...
Read more

Probability Pattern - Bayes Rule

interview probability
Bayes RuleBayes rule is a very common probability question pattern. It usually involves using the Bayes rule, together with the law of total proba ...
Read more

Quant Finance Interview Resources

leetcode interview statistics
Quant Interview ResourcesWe are going to go through how to prepare for quant finance interview in three sections: the behavioral interview the co ...
Read more

Leetcode Diary - Range Addition

leetcode interview
Range additionRange addition is a common algo pattern. The problem statement will be along the line that: Given an array, add i1 to all values fr ...
Read more

Leedcode Diary - BFS Template

leetcode
BFS TraversalBreadth first search, or BFS, is a common search algorithm for binary trees. In the question statement, when you see level order trav ...
Read more

Leetcode Diary - Linked List Templates

leetcode interview
Linked List TemplatesA lot of the linked list solutions will depend on two things: finding the mid point reversing the linked list It is useful ...
Read more

Mutability - A Common Python Mistake

python
IntroductionI was trying to create a simple 2-D array in Python today. No numpy, no pandas, just the simpliest kind using the default list data st ...
Read more

Leetcode Diary - Dynamic Programming

leetcode interview
Dynamic ProgrammingMin/Max Path to Reach a TargetGiven a target, find the minimum/maximum path to reach the target. routes[i] = min ...
Read more

Leetcode Diary - Arrays

leetcode interview
ArraysMissing or Duplicated NumbersThis type of questions can appear as simply asking you to find a missing or duplicated number, or it can be dis ...
Read more

Python Package Development Best Practices - Managing Environments

python pipenv docker
Environment ManagementManaging development environment, creating tests and monitoring test coverage, generating documentations, versioning the pac ...
Read more
Prev Next