반응형
DynamicProgramming
-
[LeetCode] 29. Divide Two Integers문제/LeetCode 2022. 6. 16. 00:27
카테고리 : Dynamic Programming 난이도 : Medium Longest String Chain - 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 아이디어 문제에서는 words라는 문자열의 배열이 주어진다. predecessor : 문자열 word1에서 문자들의 순서를 바꾸지 않고 하나의 문자를 아무데나 추가로 삽입했을 때 word2를 만들 수 있다면 word1을 word2의 predecessor라 한다. word chain : words 배열에서 ..