[백준][C#] 1260번, DFS와 BFS
문제https://www.acmicpc.net/problem/1260풀이더보기/* DFS, BFS 개념 파악 문제 양방향 확인 필요 DFS : 깊이 우선 탐색 - 방문한 곳을 끝까지 탐색 BFS : 너비 우선 탐색 - 한 Depth를 다 훑고 가는 탐색*/using System;namespace Algorithm{ class Program { static int N, M, V; static bool[,] nodes; // 인접 행렬 static bool[] visited; // 방문 여부 // 방문 기록 초기화 static void Reset() { for(int i ..