모든 공개 기록
기술노트
기술노트에서 사용할 수 있는 모든 기록이 표시됩니다. 기록 종류나 사용자 이름(대소문자 구별) 또는 영향을 받는 문서(대소문자 구별)를 선택하여 범위를 좁혀서 살펴볼 수 있습니다.
- 2025년 2월 5일 (수) 16:20 Admin 토론 기여님이 3 프로그램 개발/3 7 코딩 테스트, 알고리즘 시험 준비 (자바 언어)/3 7 7 위상 정렬 (Topological Sort) 문서를 만들었습니다 (새 문서: input : 정점, 간선 정보 TC 5 7 1 2 1 4 1 3 2 5 3 4 4 2 4 5 output 1 3 4 2 5 ``` public class Topology_Sort { static final int MAX = 101; static int[] visited = new int [MAX]; static int[] inputEdgeCount = new int[MAX]; static ArrayList<Integer> ordered = new ArrayList<>(); static ArrayList<Integer>[] adj = new ArrayList[MAX]; public static void main(String[] args) throws IOException { for(int i = 0; i<MAX; i++){...)