Writing / 65 entries
A public digital garden — bugs, breakthroughs, and the chaos of building things on the web.
How recurring renewal issues, confusing domain management UX, and rising TLD costs pushed me to rethink my infrastructure setup.
Engineering 'Richard': A Voice-Enabled, High-Availability AI Assistant
Understand how to design and build a highly optimized prefix tree from scratch in Python.
Deep dive into constructing Pascal's Triangle with O(n^2) time and optimal memory efficiency in Python.
Efficient wildcard searching using an optimized Python Trie.
Use Kadane's Algorithm to find the maximum sum subarray in O(n) time with O(1) space.
Maximize water storage in a container using a Two-Pointer approach to achieve optimal O(n) time complexity.
Count set bits in O(k) time using Brian Kernighan's bit trick — where k is the number of 1-bits.