Intersect Two Schedules

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

  • medium
  • Pro

Two people each give you a sorted list of non-overlapping free time ranges. Find every range of time when both are free. Explain how to do it without comparing every pair.

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 →