[프로그래머스] 불량 사용자
import java.util.*; class Solution { int answer; List list = new ArrayList(); public int solution(String[] user_id, String[] banned_id) { boolean[] visited = new boolean[user_id.length]; dfs(user_id,banned_id,0,0,visited); return answer; } private void dfs(String[] user_id, String[] banned_id, int index, int checkIdNumber, boolean[] visited) { if (checkIdNumber == banned_id.length) { //banned_id..
2020.04.22