분류 전체보기414 [LeetCode] 139. Word Break 문제 URL : https://leetcode.com/problems/word-break/description/ Word Break - LeetCode Can you solve this real interview question? Word Break - Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words. Note that the same word in the dictionary may leetcode.com 문제 접근법 : Word Break2 문제와 유사합니다. 오히려 이게 더난이도.. 2023. 8. 28. [LeetCode] 140. Word Break II 문제 URL : https://leetcode.com/problems/word-break-ii/ Word Break - LeetCode Can you solve this real interview question? Word Break - Given a string s and a dictionary of strings wordDict, return true if s can be segmented into a space-separated sequence of one or more dictionary words. Note that the same word in the dictionary may leetcode.com 문제 접근법 : wordDict를 이용해서 문자열 s를 만들수있는 모든 경우를 구하는겁니다. .. 2023. 8. 28. [LeetCode] 126. Word Ladder II 문제 URL : https://leetcode.com/problems/word-ladder-ii/ Word Ladder II - LeetCode Can you solve this real interview question? Word Ladder II - A transformation sequence from word beginWord to word endWord using a dictionary wordList is a sequence of words beginWord -> s1 -> s2 -> ... -> sk such that: * Every adjacent pair of words diffe leetcode.com 문제 접근법 : 프로그래머스의 단어 변환 문제와 비슷한데 이게 더 심화문제입니다. 추.. 2023. 8. 28. [LeetCode] 42. Trapping Rain Water 문제 URL : https://leetcode.com/problems/trapping-rain-water/ Trapping Rain Water - LeetCode Can you solve this real interview question? Trapping Rain Water - Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining. Example 1: [https://assets.leetcode.com/upl leetcode.com 문제접근법 : 검은 블록이 쌓였는곳에 물을 부었을대 얼마만큼 차는지 확인.. 2023. 8. 28. 이전 1 ··· 22 23 24 25 26 27 28 ··· 104 다음