방향그래프의 행(row)은 출발 노드로 열(column)은 도착 노드로 매핑하여 다음과 같이 인접행렬로 표현될 때, 위상 정렬(topological sort)이 가능한 것은?
- ①abcdefa11b11c11d11e11f
- ②abcdefa11b11c11d1e111f
- ③abcdefa11b11c11d1e11f
- ④abcdefa11b11c11d1e11f1
선지를 골라 바로 채점해 보세요.
정답 ③
출처: 인사혁신처 공개 기출(공공데이터포털, 이용허락 제한 없음)