2025 Dec

    2023 Feb

    2023 Jan

    2022 Jul

    2022 Jan

    2021 Oct

    Good Reads

    less than 1 minute read

    A rolling list of books I enjoyed, with short notes on why they stuck

    2021 Aug

    My Take on TED Talks

    2 minute read

    A rolling log of TED takeaways on conversation, self-control, imposters, and memory

    2020 Aug

    SSH Proxy Jump

    2 minute read

    SSH key auth and proxy jumps: keygen, key distribution, and practical config patterns

    2020 Feb

    Autoencoders and VAEs

    4 minute read

    Autoencoders vs VAEs: latent compression, KL regularization, and reparameterization

    2019 Sep

    fork( ) yourself!

    4 minute read

    fork() explained: process duplication, return values, zombies, and shell process flow

    2018 May

    2018 Apr

    Huffman Encoding

    4 minute read

    Huffman coding: prefix-free codes, greedy merging, and heap-based runtime analysis

    Fractional knapsack

    2 minute read

    Fractional knapsack: value-density greedy strategy and why it differs from 0-1 knapsack

    Rod Cutting (DP Intro)

    4 minute read

    Rod-cutting as DP: brute force vs memoization vs bottom-up, plus solution reconstruction

    AVL Search Tree

    3 minute read

    AVL trees: balance invariants, rotations, and why height stays O(log n)

    Binary Search Tree (BST)

    5 minute read

    Binary search trees: core operations, successors, insertion, and deletion via transplant

    Tree Basics & Tricks

    2 minute read

    Tree terminology, traversals, and a few practical iterative traversal tricks

    2018 Mar

    Hashing

    6 minute read

    Hash tables from direct addressing to chaining and open addressing, with probe analysis

    Doubly Linked-List

    3 minute read

    Doubly linked lists with and without sentinels, plus search/insert/delete pseudocode

    2018 Feb

    Stack & Queue

    less than 1 minute read

    Stack and circular queue pseudocode with overflow/underflow checks and wrap-around logic

    Bucket Sort

    2 minute read

    Bucket sort for roughly uniform inputs, with insertion sort per bucket and runtime notes

    Radix Sort

    1 minute read

    Radix sort from least-significant digit upward, and why stability is required

    2018 Jan

    Decision Tree

    less than 1 minute read

    Decision trees for comparison sorts, and why comparison sorting needs Ω(n log n)

    Counting Sort

    2 minute read

    Stable counting sort in Θ(n+k), with pseudocode and Scala/Python implementations

    2017 Dec

    Randomized Sort

    2 minute read

    Randomized quicksort: random pivots to avoid adversarial inputs and worst-case splits

    Quick Sort

    3 minute read

    Quicksort partitioning intuition, loop invariants, and best/average/worst-case analysis

    2017 Nov

    Heap Sort

    7 minute read

    Heap sort explained with max-heapify intuition, CLRS notes, and sample implementations

    2017 Oct

    Merge Sort

    4 minute read

    Merge sort via divide-and-conquer, with sentinels, recursion tree analysis, and code

    2017 Sep

    Insertion Sort

    2 minute read

    Iterative + recursive insertion sort, with complexity notes and Python/Scala examples