[프로그래머스] 카카오프렌즈 컬러링북
import java.util.*; class Solution { int[][] board = new int[101][101]; boolean[][] visited = new boolean[101][101]; ArrayList sol = new ArrayList(); int[] dx = {1,0,-1,0}; int[] dy = {0,1,0,-1}; int result; class pa{ int a; int b; pa(int a,int b){ this.a = a; this.b = b; } } public int[] solution(int m, int n, int[][] picture) { int numberOfArea = 0; int maxSizeOfOneArea = 0; int da =0; for(int..
2020.04.04