Nick MaRobbing Houses with Dynamic ProgrammingDynamic programming sounds fancier than it is. At its core, it is an optimization method. Let’s take a look at a problem from the…Jan 6, 2021Jan 6, 2021
Nick MaLowest Common Ancestors and VariationsThe lowest common ancestor (LCA) is the question where given two nodes and the root of the tree. Write a function to determine the first…Mar 20, 2020Mar 20, 2020
Nick MaCombinations and Permutations with an Intro to BacktrackingCombinations and Permutations are a common set of interview problems that require generating various sequences based on rules.Nov 12, 20191Nov 12, 20191