Nine puzzle solvers, one browser tab, zero servers: a tour of classic search algorithms
I recently finished building a small suite of puzzle and game solvers that all run entirely in the browser — no backend, no API calls, no machine-le…
Tech news from the best sources
I recently finished building a small suite of puzzle and game solvers that all run entirely in the browser — no backend, no API calls, no machine-le…
Design a photo-sharing platform where users post photos and see a feed of photos from people they follow. 1️⃣ Clarify Requirements Functional Requir…
XGBoost Introduction: XGBoost XGBoost is a tree-based algorithm. It is a variant of Gradient Boosting which is one of the highest-scaled versions of…
How Does Ground Moving Target Indication Work? Ground Moving Target Indication, or GMTI, is a radar processing capability used to detect moving obje…
Hoi hoi! I’m @nyaomaru , a frontend engineer who struggles to make game sounds. 😿 Have you used DSA View View already? 👀👀 I Built a Tool to Visualiz…
Today I started experimenting with Tree-sitter . I had heard the name before, but I had never actually used it. My goal was simple: take a TypeScrip…
Why should you care? You use functions constantly: int result = add ( 10 , 20 ); It looks simple. You call a function, it does some work, and it ret…
Cross-post. Original: stellarbytecapital.com/blog/backtesting-overfitting A profitable backtest is the easiest thing to produce in all of quant trad…
The Quest Begins (The “Why”) Ever spent an hour wrestling with a brute‑force solution that felt like you were trying to break through a concrete wal…
Most algorithms are taught as if the input were some abstract thing that simply arrives at the function boundary. An array appears. A graph appears.…
The Quest Begins (The "Why") I still remember the first time I bombed an interview because I tried to solve a “find the target in a sorted array” qu…
The Quest Begins (The "Why") I still remember the first time I saw a dynamic programming question pop up on a whiteboard during an interview. The pr…
I wrote a minesweeper probability solver. You hand it a board, it hands back the probability that each unknown square is a mine, so that when logic…
If you’ve ever built an Express API, you’ve probably reached for standard rate-limiting middleware to protect your login or payment endpoints from D…
You've figured out which cipher you're staring at — say a monoalphabetic cryptogram, or a Vigenère — but you don't have the key. No keyword, no shif…
I recently built WordScrambler, a free tool for unscrambling letters and solving anagrams, mostly out of frustration with existing tools being clutt…
Full walkthrough: https://www.youtube.com/watch?v=vFuFA3ByCs0 LeetCode 3116 — Kth Smallest Amount With Single Denomination Combination. Here’s the t…
Every trading bot post ends the same way: a green equity curve and a suspicious silence about whether it made real money. This post is the other one…
Every "AI" opponent in a board game — Tic-Tac-Toe, Connect 4, Checkers, Othello, Chess — tends to run the same idea: search the game tree, assume th…
"Nearby" sounds like a simple feature. Calculate the distance between the user and every location. Sort by distance. Done. In practice, that's not e…
The Sliding Window pattern is one of the most vital algorithmic techniques for optimizing array and string problems. Instead of repeatedly processin…
Most beginner recommendation projects are a dictionary lookup. You type "comedy", it returns the comedy list. That works, and it is also the reason…
The Quest Begins (The "Why") I still remember the first time I was asked to validate a binary search tree in an interview. My brain went into panic…
Using graph search to solve real-world problems in C# Most day-to-day C# work involves flat collections: filter a list, sort a table, look something…
If you've spent time on LeetCode or GeeksforGeeks, you've probably run into the classic "Rearrange Array Alternately" problem. The premise: given a…
Variables Are Memory Addresses Why should you care? You write: int age = 20 ; It looks like age is simply a box containing the number 20 . But what…
The Quest Begins (The "Why") I still remember the first time I stared at a whiteboard covered in overlapping intervals during a mock interview. The…
Structural hashing for pixel art: a 1024-byte key that answers 'is this the same artwork?' in 115 nanoseconds — and then tells you exactly what was…
When you build a tool that compares travel routes: flight vs. train vs. bus, the obvious instinct is to let a language model read the variables and…
How deterministic context batching reduced approximate token usage by ~81.7% while building an agentic API testing prototype See It in Action I also…