An IRT-shaped practice score is not an IQ test
IntelligenceMax updates a learner estimate after every answer and displays it on the familiar IQ scale. The arithmetic resembles item response theory.…
Tech news from the best sources
IntelligenceMax updates a learner estimate after every answer and displays it on the familiar IQ scale. The arithmetic resembles item response theory.…
The Quest Begins (The "Why") I still remember the first time I stared at a LeetCode problem that asked me to count the number of islands in a grid. My…
When I first heard the term backtracking , it sounded like a complicated algorithm reserved for computer scientists. After spending the last couple of…
Link https://leetcode.com/problems/subsets/description/ Problem Given an integer array nums of unique elements, return all possible subsets (the power…
A calculator that gives you 2+2=7 and your friend 2+2=5 is just a broken calculator. Nobody shares it. Nobody argues about it. Nobody screenshots it a…
Why naive orders lose money on Polymarket Most people's first Polymarket bot places a market order and calls it done. That works fine on liquid, high-…
The constraints for x, y is 10^9, given these constraints the problem cannot be solved by actually building the spiral - but a static function with re…
In Part 1, SaarDB had two pieces: a Write Ahead Log (WAL) for durability, an in-memory map for serving reads and writes. That works as a starting poin…
Reddit looks simple and hides two genuinely hard problems. Comments nest arbitrarily deep, and a naive tree structure makes loading a busy thread slow…
Large language models often develop recurring symbolic patterns — archetypes, metaphors, and memetic shortcuts — that appear across unrelated contexts…
I’ve been thinking about a small image-processing problem lately: how to reduce an image to a limited palette without making it look muddy. This comes…
In 1991, on a DOS machine with a BGI graphics driver, I wrote a small program that draw colored trees on screen. It wasn't meant to generate mazes. It…
Most backtests lie to you. Not intentionally. But they lie. You design a strategy, run it on historical data, and watch the returns look incredible. T…
The Quest Begins (The "Why") Honestly, I used to dread interview questions that started with “Given a sorted array…”. My first attempt was a clumsy li…
Block puzzles — the 8×8 "place three pieces, clear lines" genre — share a dirty secret: sometimes the game simply deals you pieces that cannot fit any…
Given the root of a binary tree, return the **## Problem Statement Given the root of a binary tree, return the maximum width of the tree. The width of…
A highlight reel is a sequence of moments. A recap is a story. Producing a recap automatically while a match is still being played is a different and …
leetcode.com Problem Statement Given the root of a binary tree, return its vertical order traversal . Rules: Nodes are grouped by their column (Horizo…
You typed your IBAN, hit send, and the bank threw it straight back: invalid IBAN . The number looks exactly right — same letters, same digits you copi…
While making an online payment the other day, I accidentally mistyped my card number. The website rejected it immediately, even before there was any i…
Problem Statement Given the root of a binary tree, return its preorder traversal. The challenge is to perform the traversal: Without Recursion Without…
Problem Statement Given the root of a binary tree, return the nodes visible when the tree is viewed from the top. For every horizontal distance (HD) ,…
leetcode.com Problem Statement Given the root of a binary tree, return the nodes visible when the tree is viewed from the right side. Only the last no…
leetcode.com Problem Statement Given the root of a binary tree, return the nodes visible when the tree is viewed from the left side. Only the first no…
leetcode.com Problem Statement Given the root of a binary tree, return its preorder traversal. Preorder Traversal follows: Root ↓ Left ↓ Right Brute F…
The Quest Begins (The "Why") I still remember the first time I faced a problem that asked for the sum of numbers in a sub‑array, over and over again, …
Problem Statement Given two version strings: version1 version2 Each version consists of revisions separated by dots ( . ). Compare the two versions. R…
I fell down this rabbit hole because of a small, annoying moment in a survival game. I had a diamond pickaxe I liked, four enchanted books I wanted on…
If you search "convert Gregorian to Hijri" you'll find dozens of one-line formulas floating around StackOverflow, most of them some variant of hijriYe…
Intuition The Z Algorithm is used to find all occurrences of a pattern in a text in linear time. The main idea is to avoid comparing the same characte…