JobsJob TrackerJob alerts

LeadSquared ยท 8 questions

All 8Coding 5Low-Level Design 2
  • Implement Stack using OOPS and convert to QueueCoding
  • Count components in a graphCoding
  • Explain testing concepts and SeleniumLow-Level Design
  • Sorting 0s, 1s, and 2sCoding
  • Balanced Array DivisionCoding
  • Longest Common PrefixCoding
  • Selenium Automation Scenarios and Architecture
  • Parking Management System Test CasesLow-Level Design
โ† LeadSquared questions
  1. Interview questions
  2. LeadSquared
  3. Count components in a graph
Coding

Count components in a graph

Filed under LeadSquared

The question

Write a program to count the number of connected components in a given graph.

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

Related LeadSquared questions

  • Implement Stack using OOPS and convert to Queue
  • Sorting 0s, 1s, and 2s
  • Balanced Array Division
โ† Implement Stack using OOPS and convert to QueueExplain testing concepts and Selenium โ†’

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