word search (1) 썸네일형 리스트형 LeetCode: 79번 (Word Search) [JAVA] 문제 링크 https://leetcode.com/problems/word-search/ Word Search - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 전체적인 풀이 과정은 다음과 같다. 주어진 이차원 배열을 돌며 해당 위치의 알파벳이 주어진 word의 시작 알파벳과 동일한 경우 dfs 탐색 시작 dfs 탐색 시 위치가 배열 밖인 경우나 중복 방문한 경우 혹은 알파벳이 틀린 경우 탐색을 종료하고, dfs 탐색을 word 길이 만큼하고 마지막 알파벳까.. 이전 1 다음