companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Number of Operations to Make Network Connected

66.5% acceptance · asked by 10 companies

Solve on LeetCode
Depth-First SearchBreadth-First SearchUnion-FindGraph Theory

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Akuna Capital100Ibm63Phonepe63Intuit50Salesforce
38
Meta25
Amazon25
Google13
Bloomberg13
Microsoft13

Related problems

Number of Islands
Medium
Course Schedule
Medium
Word Search
Medium
Course Schedule II
Medium
Binary Tree Maximum Path Sum
Hard