programmers 86971 java
[프로그래머스, 86971] 전력망을 둘로 나누기 (java)
https://school.programmers.co.kr/learn/courses/30/lessons/86971 프로그래머스SW개발자를 위한 평가, 교육, 채용까지 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr메모리: 83.5 MB, 시간: 0.28 ms사용 알고리즘: 완전탐색import java.util.*;class Solution { int answer, n; List> edges; boolean[] visited; public int solution(int n, int[][] wires) { this.n = n; // 최소값을 구하기 위해 최대값을 저장해둠..