---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?difficulty=hard&tag=algorithms"
---

# Posts

Filtered by topics: Algorithms, difficulty: hard.

Posts 1–24 of 43, page 1 of 2, newest first.

## 2026-11-24

- [Lazy gas, hot gas, and a thousand robots](https://swe.quest/articles/lazy-gas-hot-gas-and-a-thousand-robots-6f7a6530e96fde6f.md): Amazon Science · 2026-11-24 · Hard · 6 min read · Algorithms, Scientific computing, Machine learning
  Anonymous multiagent pathfinding (MAPF) for warehouse robots can be solved to optimality in polynomial time by formulating it as multimarginal optimal transport (MMOT) whose constraint matrices stay totally unimodular.

## 2026-11-10

- [Complexity of Differentially Private Selection via Federated APIs](https://swe.quest/articles/complexity-of-differentially-private-selection-via-federated-apis-707081b57325b85a.md): Apple Machine Learning Research · 2026-11-10 · Hard · 1 min read · Privacy, Algorithms, Machine learning
  Private selection built only on the standard noisy-aggregation primitive used in federated differential privacy needs Ω(√d/ε) samples, which explains the utility gap against the central model.
- [Understanding Private Evolution as Learning-Augmented Clustering](https://swe.quest/articles/understanding-private-evolution-as-learning-augmented-clustering-58ac5a66449a6d2b.md): Apple Machine Learning Research · 2026-11-10 · Hard · 2 min read · Privacy, Machine learning, Algorithms
  Private Evolution (PE), a differentially private synthetic data generation algorithm, performs far better in practice than worst-case Wasserstein learning analyses predict, and recasting it as generative model-augmented Wasserstein learning explains why.
- [Toward a Theory of Evaluability](https://swe.quest/articles/toward-a-theory-of-evaluability-047f64965b8c9ea7.md): Apple Machine Learning Research · 2026-11-10 · Hard · 1 min read · Evaluation, Machine learning, Algorithms
  Formalizes 'evaluability': whether a black-box model can be accurately evaluated when test samples may have been seen during training, a held-out assumption that is hard to justify for large foundation models.

## 2026-11-07

- [JIT bitmap text rendering for microcontrollers](https://swe.quest/articles/jit-bitmap-text-rendering-for-microcontrollers-b2c91e4d8888665c.md): Linebender · 2026-11-07 · Hard · 13 min read · Compilers, Performance engineering, Hardware, Algorithms
  Proportionally spaced, kerned bitmap text on the RP2350 renders fast enough to race the beam by JIT-compiling each string into ARM Cortex-M33 code.

## 2026-11-05

- [Hamed Karimi wins ECML PKDD Test-of-Time Award](https://swe.quest/articles/hamed-karimi-wins-ecml-pkdd-test-of-time-award-8bfbbc2fdc0b0a0e.md): Amazon Science · 2026-11-05 · Hard · 5 min read · Machine learning, Algorithms, Model training
  Hamed Karimi, Julie Nutini and Mark Schmidt received the 2026 ECML PKDD Test-of-Time Award for their 2016 paper showing that the 1963 Polyak–Łojasiewicz (PL) inequality guarantees linear convergence of gradient descent without strong convexity.

## 2026-10-30

- [Splatting the Gaussians into Blender](https://swe.quest/articles/splatting-the-gaussians-into-blender-0308f3f0ecb77140.md): Blender Developers Blog · 2026-10-30 · Hard · 6 min read · Computer vision, Algorithms, Open source
  Blender 5.3 adds native 3D Gaussian splat support, importing .PLY, .SPZ and USD captures as a point cloud type with per-splat scaling, quaternion rotation and spherical-harmonic radiance attributes exposed to Geometry Nodes.

## 2026-10-28

- [The new cost-based join optimizer with reordering support for non-inner joins](https://swe.quest/articles/the-new-cost-based-join-optimizer-with-reordering-support-for-non-inner-joins-60f6c88dd7c8b7a9.md): ClickHouse · 2026-10-28 · Hard · 17 min read · Query engines, Algorithms, Analytics & OLAP, Performance engineering
  ClickHouse's new cost-based join optimizer uses an exhaustive DPsub dynamic-programming enumerator over table-subset bitmasks.

## 2026-10-20

- [Cross-store product clustering across millions of stores](https://swe.quest/articles/cross-store-product-clustering-across-millions-of-stores-c9b1fdcfbed466c6.md): Shopify Engineering · 2026-10-20 · Hard · 13 min read · Machine learning, E-commerce, Vector search, Algorithms, LLMs
  Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.

## 2026-10-12

- [Contact Recycling](https://swe.quest/articles/contact-recycling-cff69228db371637.md): Box2D · 2026-10-12 · Hard · 9 min read · Games, Performance engineering, Algorithms, Scientific computing
  Contact recycling reuses one-shot contact manifolds across full time steps when two bodies have barely moved relative to each other, making narrow-phase contact generation nearly free for resting stacks or objects riding together.

## 2026-09-29

- [Inscribed Spheres](https://swe.quest/articles/inscribed-spheres-119dd641a396418e.md): Box2D · 2026-09-29 · Hard · 14 min read · Games, Algorithms, Performance engineering, C & C++
  Inscribed spheres give a cheap upper bound on the separation achievable along any axis in the separating axis test (SAT): n·d − (rA + rB), where d joins the sphere centers.

## 2026-08-31

- [Autoscaling Lakebase Postgres](https://swe.quest/articles/autoscaling-lakebase-postgres-63257ef0753db067.md): Neon · 2026-08-31 · Hard · 12 min read · PostgreSQL, Capacity planning, Virtualization, Algorithms, Kubernetes
  Neon's Lakebase Postgres resizes compute in place about once every 81 seconds by taking the maximum of three target sizes: CPU load (one-minute average kept under 90%), memory (polled every 100 ms by an in-VM monitor and kept under 75%), and the working set of the compute cache.

## 2026-08-17

- [Same Cluster, 33 Points More Utilization: What Changed Was the Order](https://swe.quest/articles/same-cluster-33-points-more-utilization-what-changed-was-the-order-b3fd7e12cbfd3ecc.md): Hugging Face · 2026-08-17 · Hard · 13 min read · Scheduling, ML platforms, Inference & serving, Capacity planning, Algorithms
  A constraint-aware GPU allocator beat a FIFO scheduler on identical hardware and workloads across seven scenarios, raising utilization by up to 33 percentage points and priority-weighted output by up to 105%.

## 2026-08-08

- [The mathematical beauty of hyperbezier curves](https://swe.quest/articles/the-mathematical-beauty-of-hyperbezier-curves-037511253fc852f1.md): Linebender · 2026-08-08 · Hard · 7 min read · Algorithms, Scientific computing
  The hyperbezier is a proposed curve family for 2D vector design, defined by the Cesàro equation κ(s) = (as+b)/(cs²+ds+1)^1.5, intended as a strict improvement on cubic Béziers.

## 2026-07-31

- [Don’t stop early: Case-folding source code at memory speed](https://swe.quest/articles/don-t-stop-early-case-folding-source-code-at-memory-speed-d9a0d3aa3df1f3f4.md): GitHub Engineering · 2026-07-31 · Hard · 18 min read · Performance engineering, Rust, Search, Algorithms, Data structures
  GitHub's Blackbird code search case-folds every byte of 480TB of source, and the fastest ASCII path came from removing the early exit at the first non-ASCII byte.

## 2026-07-18

- [SIMD for Collision](https://swe.quest/articles/simd-for-collision-0a426a9583188633.md): Box2D · 2026-07-18 · Hard · 5 min read · Performance engineering, Games, Algorithms, C & C++
  Box3D uses wide SIMD to speed up the edge-edge phase of the Separating Axis Test, testing one edge of hull A against four edges of hull B at once using structure-of-arrays data.

## 2026-06-29

- [Leveraging PyFixest for High-Cardinality Marketplace Modeling at Instacart](https://swe.quest/articles/leveraging-pyfixest-for-high-cardinality-marketplace-modeling-at-instacart-51b7ebdb06241104.md): Instacart Tech · 2026-06-29 · Hard · 13 min read · Python, Algorithms, Performance engineering, Scientific computing
  Controlling for high-cardinality fixed effects (e.g. thousands of regions, shoppers or customers) makes standard OLS intractable, because each dummy variable expands the Gram matrix and matrix inversion scales as O(k³).

## 2026-05-04

- [Interpolation search for SST index blocks](https://swe.quest/articles/interpolation-search-for-sst-index-blocks-87e39fd0767b7895.md): RocksDB Blog · 2026-05-04 · Hard · 4 min read · Storage engines, Algorithms, Performance engineering, Databases
  RocksDB adds interpolation search for SST index blocks, which estimates the probe position from key values and needs an expected O(log log n) probes on uniformly distributed keys, versus Θ(log n) for binary search.

## 2026-04-20

- [Gradient-based Planning for World Models at Longer Horizons](https://swe.quest/articles/gradient-based-planning-for-world-models-at-longer-horizons-5ad914a02a501cb0.md): Berkeley AI Research · 2026-04-20 · Hard · 12 min read · Machine learning, Algorithms
  GRASP is a gradient-based planner for learned world models that makes long-horizon planning tractable by lifting the trajectory into virtual states (collocation) so model evaluations run in parallel across time and avoid exploding/vanishing gradients from deep rollouts.

## 2026-03-24

- [TurboQuant: Redefining AI efficiency with extreme compression](https://swe.quest/articles/turboquant-redefining-ai-efficiency-with-extreme-compression-d5471afe1cc3ed09.md): Google Research · 2026-03-24 · Hard · 7 min read · Inference & serving, Vector search, LLMs, Algorithms
  TurboQuant is a data-oblivious vector quantization algorithm that removes the per-block quantization-constant overhead of traditional methods by combining PolarQuant (random rotation plus recursive polar-coordinate transforms with a fixed angle grid) and a 1-bit Quantized Johnson-Lindenstrauss residual stage that removes bias in inner-product estimates.

## 2026-03-13

- [Identifying Interactions at Scale for LLMs](https://swe.quest/articles/identifying-interactions-at-scale-for-llms-3793e2abaeb5d127.md): Berkeley AI Research · 2026-03-13 · Hard · 7 min read · AI safety, LLMs, Machine learning, Algorithms
  SPEX and ProxySPEX identify influential interactions in LLMs and other ML models by treating ablation-based attribution as a sparse recovery problem, using signal processing and coding theory to scale interaction discovery from dozens to thousands of components.

## 2026-02-24

- [Can you reverse engineer our neural network?](https://swe.quest/articles/can-you-reverse-engineer-our-neural-network-86a50d8d5fe35d5c.md): Jane Street Tech Blog · 2026-02-24 · Hard · 12 min read · Machine learning, AI safety, Cryptography, Algorithms
  A Jane Street ML puzzle shipped a fully specified, hand-built PyTorch network with integer weights that outputs 0 for almost every input, and the writeup follows one solver's path to cracking it.

## 2026-02-11

- [Scheduling in a changing world: Maximizing throughput with time-varying capacity](https://swe.quest/articles/scheduling-in-a-changing-world-maximizing-throughput-with-time-varying-capacity-d2823a7d4e628d27.md): Google Research · 2026-02-11 · Hard · 6 min read · Scheduling, Algorithms
  Non-preemptive scheduling under a time-varying capacity profile, where leftover capacity after high-priority tasks fluctuates, gets its first constant-factor approximation algorithms for throughput maximization.

## 2026-02-04

- [​Sequential Attention: Making AI models leaner and faster without sacrificing accuracy](https://swe.quest/articles/sequential-attention-making-ai-models-leaner-and-faster-without-sacrificing-65f934b916a51bd2.md): Google Research · 2026-02-04 · Hard · 7 min read · Machine learning, Algorithms, Inference & serving, Recommendations & ranking
  Sequential Attention is a greedy subset-selection algorithm that runs inside a single training run.

[Next page](https://swe.quest/index.md?difficulty=hard&tag=algorithms&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=hard&tag=algorithms](https://swe.quest/feed.xml?difficulty=hard&tag=algorithms). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
