| 34 | } |
| 35 | |
| 36 | int findSet(int x) { |
| 37 | if (x == parent[x]) { |
| 38 | return x; |
| 39 | } |
| 40 | parent[x] = findSet(parent[x]); |
| 41 | return parent[x]; |
| 42 | } |
| 43 | }; |
| 44 | |
| 45 | int connectTheDots(std::vector<std::vector<int>>& points) { |
nothing calls this directly
no outgoing calls
no test coverage detected