Posts

Leetcode 91: Decode Ways …

Why I like this problem https://leetcode.com/problems/decode-ways/ A lot of the canonical recursive problems you start out with have really simple code. Things that come to mind are https://leetcode.com/problems/fibonacci-number/, https://leetcode.com/problems/climbing-stairs/ and …

Quarrel With Dynamic …

DP is an Art Snapshot is clear, global is not An issue I ran into with developing an intuition with dp is that in some cases the immediete solution is obvious yet I had a nagging sense of how could it be right long term. To explain my issue I’ll go through a leetcode problem. …

Choose Unchoose Pattern …

Pre Requisites This post won’t elaborate on the following topics since there is already many great ones: Choose unchoose pattern Leetcode Combinations Problem https://leetcode.com/problems/combinations/description Backtracking Context This pattern is often just given as a part of a template …

Intro

Introduction TODO