Posts
A Year in Review: F45
Posted on:February 23, 2020Having recently concluded a year of F45, I wanted to share some of my findings. Why F45? I’m not here to shill F45, and I don’t think F45 is…
Filtering Major Modes in Emacs Buffers
Posted on:February 10, 2020Having adopted emacs-libvterm as my main term, I wanted a first-class way to open and switch between vterm buffers. With ivy-rich, one can…
Scala Support in Doom Emacs with metals-emacs
Posted on:February 6, 2020Language support for Scala is provided for by metals-emacs (Ensime seems to have been officially deprecated a few months ago). Installing…
Splitting Chocolates, or, Minimum Partition Difference
Posted on:February 5, 2020A take-home question from some company’s recruitment process (not me applying). It’s similar to another blog post that I had in mind to…
Linear Time Bridge Detection
Posted on:January 26, 2020Fleury’s algorithm is an algorithm for finding an Eulerian path/cycle in an undirected graph. It relies on being able to detect bridges in…
Installing Emacs from Source (macOS 10.14)
Posted on:December 17, 2019Information about installing Emacs from source on macOS seems to be surprisingly sparse, so putting it all here together for easy reference.…
Minimum Palindrome Partitions
Posted on:December 14, 2019A cut is defined as a slice of a string that partitions a string into two. Given a string, return the minimum number of cuts required to…
k-th Largest Number from a List of Digits
Posted on:November 12, 2019Given a list of digits (possibly containing duplicates) from 0-9, and a number k, find the k-th largest number that can be formed from these…