JobsJob TrackerJob alerts

DoorDash · 9 questions

All 9Coding 5System Design 3Behavioral 1
  • Number of ProvincesCoding
  • Next Greater Element IIICoding
  • Design a Review SystemSystem Design
  • Search Suggestions SystemCoding
  • Design an ads click aggregatorSystem Design
  • Fix 3-4 bugs in a given piece of codeCoding
  • Design a 3-day charity event systemSystem Design
  • Behavioural and situational questions on engineering principlesBehavioral
  • Longest increasing path in a matrixCoding
← DoorDash questions
  1. Interview questions
  2. DoorDash
  3. Number of Provinces
CodingReported in a candidate post, Jan 2025

Number of Provinces

Filed under DoorDash

The question

Given a graph representation, find the number of connected components (provinces).

No write-up yet. Related questions below have one.

Related DoorDash questions

  • Next Greater Element III
  • Fix 3-4 bugs in a given piece of code
Next Greater Element III →

Collected from public candidate posts and coding forums. Updated Nov 2026.