List Every Subset

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

Given a list of distinct numbers, list every possible subset, including the empty one and the whole list. Explain how you'd generate them and how many there are.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →