/
© 2026 RiffOn. All rights reserved.

Get your free personalized podcast brief

We scan new podcasts and send you the top 5 insights daily.

  1. The Peterman Pod
  2. MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams
MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod · Jun 29, 2026

MIT's Ryan Williams on beating "optimal" algorithms, why core CS hypotheses might be wrong, and his groundbreaking time-space complexity results.

LeetCode's 'Threesome' Problem Can Be Solved Faster Than N-Squared Time

The popular O(n^2) solution for the 'Threesome' problem can be beaten. The advanced technique involves sorting, grouping elements into small blocks, and using pre-processed data structures to accelerate the search, treating groups as single units.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

NP-Complete Problems Can Be Reduced to Polynomial-Time Problems for Faster Solutions

The NP-complete Subset Sum problem (typically 2^n time) can be solved in sqrt(2^n) time. This is achieved by reducing it to the Two-Sum problem (solvable in n log n time), demonstrating a powerful technique in fine-grained complexity that connects seemingly disparate problem classes.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Believing a Major Hypothesis Is False Can Drive Research Breakthroughs

MIT Professor Ryan Williams operates as if the Strong Exponential Time Hypothesis (SETH) is false. This belief forces him to discard standard approaches and explore novel algorithmic ideas. His failed attempts to refute SETH have led to unexpected solutions for other important problems.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Neural Networks Are Computationally Analogous to Threshold Circuits in Complexity Theory

The structure of neural networks with activation functions like ReLU can be modeled by "threshold circuits" (TC circuits). These circuits use majority gates instead of traditional AND/OR gates, providing a formal framework from complexity theory for analyzing the computational power of neural net architectures.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Constant Algorithmic Surprises Justify Skepticism About P vs. NP

Professor Williams assigns only 80% confidence to P != NP, lower than his peers. His rationale is that our intuition about computational limits is frequently proven wrong by surprising new algorithms. The vast, unexplored space of algorithms makes a definitive conclusion more uncertain than widely believed.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Real-World Problems' Structure Suggests Exponential-Time Problems Could Be Solvable

The NEX vs. EX problem is equivalent to solving highly compressed, structured SAT instances. Because real-world SAT instances are also highly structured (not random), the possibility that NEX=EX implies that structure might be the key to efficiently solving certain exponential-time problems.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

XORing Memory Broke a 50-Year Barrier in Time-Space Simulation

A 1975 result showed time-T algorithms could run in T/log(T) space. Ryan Williams improved this to sqrt(T) by changing a core assumption. Instead of only writing to erased memory, his method uses XOR operations to destructively overwrite memory, enabling massive space savings by cleverly managing information.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Frame Research as a "Win-Win" to De-Risk Tackling Hard Problems

A powerful research strategy is to formulate a hypothesis where proving it true OR false both lead to valuable, publishable outcomes. This "win-win" framing makes it rational to pursue ambitious, high-risk problems, as progress is guaranteed regardless of the specific answer.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago

Nobody Needs Permission to Tackle Fundamental Scientific Problems

For the most profound and unsolved problems in a field like complexity theory, the lack of established knowledge creates a level playing field. Young researchers shouldn't wait for permission or seniority to start thinking about them, as nobody has a significant head start.

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams thumbnail

MIT Complexity Theorist: Why You Can Do Better Than “Optimal” On Leetcode & SAT | Ryan Williams

The Peterman Pod·2 months ago