미로찾기 - 재귀함수(recrusion) 사용, 자바
코드 : public class Code004{ public static int pathSearch(int[][] Map, int startR,int startC, int GoalR, int GoalC){ System.out.println("("+startR+","+startC+")"); Map[startR][startC] = 1; if(startR == GoalR && startC == GoalC) return -1; if (startR-1 >= 0){ if(Map[startR-1][startC] != 1){ if(pathSearch(Map, startR-1, startC,GoalR,GoalC) ==-1) return -1; } } if (startR+1 = 0 ){ if(Map[startR][star..