Find the Single Number

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

In a list of integers, every value appears exactly twice except one, which appears once. Find that one in linear time using only a constant amount of extra memory.

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 →