문제https://school.programmers.co.kr/learn/courses/30/lessons/43162 프로그래머스SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프programmers.co.kr 문제 풀이 (Java)import java.util.*;class Solution { public int solution(int n, int[][] computers) { int answer = 0; boolean visited[] = new boolean[n]; for (int i = 0; i queue = new LinkedList(); queue.add(idx); while (!queue.isEmpty()) { int num =..