Today · Oct 20, 2026

Daily Trace

One puzzle a day from a real run of the code. Everyone gets the same one, and the next starts at 00:00 UTC.

This trace hasn't been reviewed yet. Every option on it still comes from the model's run.

Guess the output

This is the input. Pick what the code returns.

Subsets

Given an array of distinct integers, return every possible subset of its elements. The order of the subsets does not matter, and the empty subset must be included. No subset should appear more than once.

Input nums 1, 2

StopSearch tree
the first call, recorded an answer, running[]✓
nums
  1. 1
  2. 2
pathempty
result
  1. []
start0
  • CH1 path
backtrack(0) starts with an empty path. Record [], the empty subset.
What does it return?

Past traces