본문 바로가기
반응형

🖥️ 문제 풀이/리트코드(Leetcode)62

[LeetCode 해석 및 풀이] 79. Word Search(단어 검색) LeetCode 문제 해석 및 풀이 방법문제 79. Word Search(단어 검색)난이도 : 중간🟡 바로가기 문제 설명영문Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from letters of sequentially adjacent cells, where adjacent cells are horizontally or vertically neighboring. The same letter cell may not be used more than once. Follow up: Could you use search prunin.. 2024. 8. 19.
[LeetCode 해석 및 풀이] 40. Combination Sum II(조합합 II) LeetCode 문제 해석 및 풀이 방법문제 40. Combination Sum II(조합합 II)난이도 : 중간🟡 바로가기 문제 설명영문Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numbers sum to target. Each number in candidates may only be used once in the combination. Note: The solution set must not contain duplicate combinations. 한글후보 번호(candidates).. 2024. 8. 7.
[LeetCode 해석 및 풀이] 90. Subsets II(하위 집합 II) LeetCode 문제 해석 및 풀이 방법문제 90. Subsets II(하위 집합 II)난이도 : 중간🟡 바로가기 문제 설명영문Given an integer array nums that may contain duplicates, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. 한글중복을 포함할 수 있는 정수 배열 nums 주어지면 가능한 모든 하위 집합(멱집합) 을 반환합니다. 솔루션 세트에는 중복된 하위 세트가 포함되어서는 안 됩니다. 답은 어떤 순서로든 반환 가능합니다. 제한조건1 -10  입출력 예입력출력nums.. 2024. 8. 7.
[LeetCode 해석 및 풀이] 39. Combination Sum(조합 합) LeetCode 문제 해석 및 풀이 방법문제 39. Combination Sum(조합합)난이도 : 중간🟡 바로가기 문제 설명영문Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may return the combinations in any order. The same number may be chosen from candidates an unlimited number of times. Two combinations are unique if th.. 2024. 8. 6.
[LeetCode 해석 및 풀이] 46. Permutations(순열) LeetCode 문제 해석 및 풀이 방법 문제 46. Permutations(순열)난이도 : 중간🟡 바로가기 문제 설명영문Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. 한글고유한 정수의 배열 nums 주어지면 가능한 모든 순열을 반환합니다. 어떤 순서 로든 답변을 반환할 수 있습니다. 제한조건1 -10 All the integers of nums are unique. 입출력 예입력출력nums = [1,2,3][[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]nums = [0,1][[0,1],[1,0].. 2024. 8. 6.
[LeetCode 해석 및 풀이] 78. Subsets(하위 집합) LeetCode 문제 해석 및 풀이 방법문제 78. Subsets(하위 집합)난이도 : 중간🟡 바로가기 문제 설명영문Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order. 한글서로 다른 요소들의 nums 정수 배열이 주어지면 가능한 모든 하위 집합(멱집합) 을 반환합니다. 해답 세트에는 중복된 하위 세트가 포함되어서는 안 됩니다. 어떤 순서로든 해답을 반환할 수 있습니다. 제한조건1 -10 All the numbers of nums are .. 2024. 7. 28.
반응형