Rameshwari (@datacode2025) 's Twitter Profile
Rameshwari

@datacode2025

ID: 1784228289529380864

calendar_today27-04-2024 14:29:30

172 Tweet

14 Takipçi

57 Takip Edilen

Rameshwari (@datacode2025) 's Twitter Profile Photo

Day 147✅Of 160gfg Challenge Problem-Minimum Cost to Connect all house Approach-Build graph using Manhattan distance 🔹 Sort edges & apply Kruskal’s MST 🔹 Use DSU for cycle detection 🔹 Pick lowest-cost edges till all houses connect #160gfgchallenge GeeksforGeeks #womenintech

Day 147✅Of 160gfg Challenge
Problem-Minimum Cost to Connect all house
Approach-Build graph using Manhattan distance
🔹 Sort edges & apply Kruskal’s MST
🔹 Use DSU for cycle detection
🔹 Pick lowest-cost edges till all houses connect
#160gfgchallenge <a href="/geeksforgeeks/">GeeksforGeeks</a> #womenintech